lp8727_charger: Make lp8727_init_device() shorter
authorKim, Milo <Milo.Kim@ti.com>
Fri, 31 Aug 2012 09:25:34 +0000 (09:25 +0000)
committerAnton Vorontsov <anton.vorontsov@linaro.org>
Fri, 21 Sep 2012 01:04:29 +0000 (18:04 -0700)
commit70be1305294ad50a45a8f4134152d5d6e79c922e
tree6cdde3d6e27a7f42ed3ce38714f0f857c2873c39
parent65272bac3a24162b7362eccf9a30a481f2139266
lp8727_charger: Make lp8727_init_device() shorter

Just return with lp8727_write_byte(), no need to check its value.

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