lp8727_charger: Make lp8727_charger_get_propery() simpler
authorKim, Milo <Milo.Kim@ti.com>
Fri, 31 Aug 2012 09:25:55 +0000 (09:25 +0000)
committerAnton Vorontsov <anton.vorontsov@linaro.org>
Fri, 21 Sep 2012 01:05:39 +0000 (18:05 -0700)
commitb59c93c0090d14556d988607e5bdb297d6e380a7
tree7287159f6105ec4e334dd3138ea4d38523d0858a
parent91a696330ce4137eef7ad5712c9269a52dc261d4
lp8727_charger: Make lp8727_charger_get_propery() simpler

Charger has only one valid property - ONLINE. If the property is not
ONLINE, then just return quickly.

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