commit | 65272bac3a24162b7362eccf9a30a481f2139266 | [log] [tgz] |
---|---|---|
author | Kim, Milo <Milo.Kim@ti.com> | Fri Aug 31 09:25:22 2012 +0000 |
committer | Anton Vorontsov <anton.vorontsov@linaro.org> | Thu Sep 20 18:04:00 2012 -0700 |
tree | 0201df5b9c7b30e10a8a2138ed34bb89bdafcc03 | |
parent | 18763a36d0bae11a916ffe8fa58a26fd0b5eb115 [diff] |
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>