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)
commit2490594e89c7286585daeaf05a06b6cd7b5c8876
tree2e25fc1299edec58a17eae894ce648f65b1d9773
parent3bbbf150ffde2ca48249537d2d9e4b52bc0a5fc8
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