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)
commit20414e2e0e10c2152e44784599e6d66fae39d77c
tree8492f478b91c1a43c5ac806e1f8b2ea96e97a862
parente06374b0d6055ef21e49d14d955eb9fc5088f707
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