lp8727_charger: Clean up lp8727_is_charger_attached()
authorKim, Milo <Milo.Kim@ti.com>
Fri, 31 Aug 2012 09:25:22 +0000 (09:25 +0000)
committerAnton Vorontsov <anton.vorontsov@linaro.org>
Fri, 21 Sep 2012 01:04:00 +0000 (18:04 -0700)
commit65272bac3a24162b7362eccf9a30a481f2139266
tree0201df5b9c7b30e10a8a2138ed34bb89bdafcc03
parent18763a36d0bae11a916ffe8fa58a26fd0b5eb115
lp8727_charger: Clean up lp8727_is_charger_attached()

Change return type to boolean. Remove unnecessary check routine for NULL
string. (Power supply name is always valid when the function is executed.)

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