]> 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)
commit2cffa4337927ed5490ae0bede0f3dc749f1aa5dc
tree2e25fc1299edec58a17eae894ce648f65b1d9773
parenta6f47d7a11223a0d2fb831498609e8b7812cb74c
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