]> git.baikalelectronics.ru Git - kernel.git/commit
staging:iio:dac:ad5624r: Use strtobool for boolean values
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 4 Jun 2012 09:36:23 +0000 (11:36 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Jun 2012 04:47:32 +0000 (13:47 +0900)
commit29529ed938f79837558e1993d30dd14987ff080e
tree2e25fc1299edec58a17eae894ce648f65b1d9773
parent0dc0cca206c33f1d0388285fd073c971685e2bd4
staging:iio:dac:ad5624r: Use strtobool for boolean values

Use strtobool for parsing the powerdown value instead of strict_strtol, since
the powerdown attribute is a boolean value.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/iio/dac/ad5624r_spi.c