]> git.karo-electronics.de Git - karo-tx-linux.git/commit
power: supply: twl4030-charger: move allocation of iio channel to the beginning
authorH. Nikolaus Schaller <hns@goldelico.com>
Wed, 14 Jun 2017 09:25:54 +0000 (11:25 +0200)
committerSebastian Reichel <sre@kernel.org>
Wed, 14 Jun 2017 20:10:44 +0000 (22:10 +0200)
commit5e6eb025b0d7ee721e8d88d632630ba43eeab50b
treedd8904944dcb378f3bace82df60ff623720e6966
parente8847c565421f1c9bc9abcb92cccf33727b6f558
power: supply: twl4030-charger: move allocation of iio channel to the beginning

This is in prepraration for EPROBE_DEFER handling because it is quite
likely that geting the (madc) iio channel is deferred more often than
later steps.

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