]> git.baikalelectronics.ru Git - kernel.git/commit
lp8727_charger: Clean up lp8727_charger_changed()
authorKim, Milo <Milo.Kim@ti.com>
Fri, 31 Aug 2012 09:26:22 +0000 (09:26 +0000)
committerAnton Vorontsov <anton.vorontsov@linaro.org>
Fri, 21 Sep 2012 01:06:13 +0000 (18:06 -0700)
commit0ac23fc1cb5448b6ebcf0fa4e2139469b34f716e
tree8492f478b91c1a43c5ac806e1f8b2ea96e97a862
parent93ca603b83292386449e381c956914ac642192b3
lp8727_charger: Clean up lp8727_charger_changed()

Declare a variable at one line. Just return when no charger exists to make
code simpler.

Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com>
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
drivers/power/lp8727_charger.c