]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit92938f66955b9283ca506ca2d818603a48c95ee7
tree0201df5b9c7b30e10a8a2138ed34bb89bdafcc03
parent5dc39460f5ca420de8080f9691b450b9586c90d8
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