staging:iio:dac:ad5446: Use iio_enum for powerdown modes
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 4 Jun 2012 09:36:13 +0000 (11:36 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Jun 2012 04:47:30 +0000 (13:47 +0900)
commit09d48aa9f67e05770c48df6437a753b9c4d4469a
tree11fff732de3984d6a8098870392fa817de82f8fe
parent26628f6b53d1ae3610146607c0c7fcbaf403bee7
staging:iio:dac:ad5446: Use iio_enum for powerdown modes

This allows us to remove some boilerplate code for comparing and formatting the
enum strings.

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/ad5446.c