power: supply: twl4030-charger: allocate iio by devm_iio_channel_get() and fix error...
authorH. Nikolaus Schaller <hns@goldelico.com>
Wed, 14 Jun 2017 09:25:53 +0000 (11:25 +0200)
committerSebastian Reichel <sre@kernel.org>
Wed, 14 Jun 2017 20:10:43 +0000 (22:10 +0200)
commite8847c565421f1c9bc9abcb92cccf33727b6f558
treee3c06d2d11448dd11df60ba020ef04cee7f75fec
parent355679b2701b3d38a4681bf922291c6e55a23e46
power: supply: twl4030-charger: allocate iio by devm_iio_channel_get() and fix error path

Suggested-by: Sebastian Reichel <sre@kernel.org>
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
drivers/power/supply/twl4030_charger.c