linux/drivers/iio/dac
Jonathan Cameron 3704432fb1 iio: refactor info mask and ext_info attribute creation.
Introduce an enum to specify whether the attribute is separate or
shared.

Factor out the bitmap handling for loop into a separate function.

Tidy up error handling and add a NULL assignment to squish a false
positive warning from GCC.

Change ext_info shared type from boolean to enum and update in all
drivers.

Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
2013-09-15 17:43:20 +01:00
..
Kconfig iio: Add a comment to about alphabetical order to Kconfigs and Makefiles 2013-08-03 18:40:36 +01:00
Makefile iio: Add a comment to about alphabetical order to Kconfigs and Makefiles 2013-08-03 18:40:36 +01:00
ad5064.c iio: refactor info mask and ext_info attribute creation. 2013-09-15 17:43:20 +01:00
ad5360.c iio: dac: ad5360: Use devm_* APIs 2013-08-19 20:22:44 +01:00
ad5380.c iio: refactor info mask and ext_info attribute creation. 2013-09-15 17:43:20 +01:00
ad5421.c iio: dac: ad5421: Use devm_* APIs 2013-08-19 20:24:52 +01:00
ad5446.c iio: refactor info mask and ext_info attribute creation. 2013-09-15 17:43:20 +01:00
ad5449.c iio: dac: ad5449: Use devm_* APIs 2013-08-19 20:26:25 +01:00
ad5504.c iio: refactor info mask and ext_info attribute creation. 2013-09-15 17:43:20 +01:00
ad5624r.h staging:iio: Move DAC drivers out of staging 2012-06-05 14:02:25 +09:00
ad5624r_spi.c iio: refactor info mask and ext_info attribute creation. 2013-09-15 17:43:20 +01:00
ad5686.c iio: refactor info mask and ext_info attribute creation. 2013-09-15 17:43:20 +01:00
ad5755.c iio: refactor info mask and ext_info attribute creation. 2013-09-15 17:43:20 +01:00
ad5764.c iio: dac: ad5764: Use devm_* APIs 2013-08-19 20:35:32 +01:00
ad5791.c iio: refactor info mask and ext_info attribute creation. 2013-09-15 17:43:20 +01:00
ad7303.c iio: refactor info mask and ext_info attribute creation. 2013-09-15 17:43:20 +01:00
max517.c iio: dac: max517: Use devm_iio_device_alloc 2013-08-19 20:38:50 +01:00
mcp4725.c iio: refactor info mask and ext_info attribute creation. 2013-09-15 17:43:20 +01:00