staging:iio:adc: Use kstrtol()/kstrtoul()
authorAida Mynzhasova <ai.c.c0der@gmail.com>
Mon, 6 May 2013 20:04:41 +0000 (00:04 +0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 May 2013 20:45:46 +0000 (13:45 -0700)
commitf86f83622fe2c45d75f83a7db8d170da55b5b476
treefceee55a242046654c4b6412f87802ff200df2df
parent0c474826cfdd24226c63b8d012a51cb7d9c85a67
staging:iio:adc: Use kstrtol()/kstrtoul()

Replace deprecated strict_strtol()/strict_strtoul() with
kstrtol()/kstrtoul(). Add missing checks for conversion return codes.

Signed-off-by: Aida Mynzhasova <ai.c.c0der@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/iio/adc/ad7192.c
drivers/staging/iio/adc/ad7280a.c
drivers/staging/iio/adc/ad7606_core.c
drivers/staging/iio/adc/ad7816.c
drivers/staging/iio/adc/ad799x_core.c