]> git.baikalelectronics.ru Git - kernel.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)
commit3ea334ea604908b44b1095df5271c65b0040050e
treedd8904944dcb378f3bace82df60ff623720e6966
parentdfc13c0bf079cce612f40e57784ffdb83125f70d
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