[PATCH v2 0/3] Convert twl4030_madc_battery to IIO consumer and add DT aupport
From: Marek Belisko
Date: Wed Mar 05 2014 - 15:52:49 EST
This patches are based on Sebastian Reichel work [1] which convert twl4030_madc mfd to iio
framework. Patches was tested on gta04 board. twl4030_madc_battery driver is converted in
first patch to iio consumer and in next patches is added support for devicetree.
Changes from V1:
- use iio_read_channel_processed instead iio_read_channel_processed
- convert probe to use devm_ as part of adding error handling for iio
- free iio channels on error and on module removal
[1] - https://lkml.org/lkml/2014/2/26/482
Marek Belisko (3):
power: twl4030-madc-battery: Convert to iio consumer.
power: twl4030_madc_battery: Add device tree support.
Documentation: DT: Document twl4030-madc-battery bindings.
.../bindings/power_supply/twl4030_madc_battery.txt | 43 ++++++
drivers/power/twl4030_madc_battery.c | 155 ++++++++++++++++-----
2 files changed, 165 insertions(+), 33 deletions(-)
create mode 100644 Documentation/devicetree/bindings/power_supply/twl4030_madc_battery.txt
--
1.8.3.2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/