staging:iio:dac:ad5064: Use iio_enum for powerdown modes
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 4 Jun 2012 09:36:12 +0000 (11:36 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Jun 2012 04:47:30 +0000 (13:47 +0900)
commit26628f6b53d1ae3610146607c0c7fcbaf403bee7
treedce6972678f83f4195bd81646e12cbbffcf70a65
parent5212cc8a9d833791a7aec566db136e78951f203d
staging:iio:dac:ad5064: 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/ad5064.c