summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorDevendra Naga <develkernel412222@gmail.com>2012-07-29 23:31:55 +0545
committerAnton Vorontsov <anton.vorontsov@linaro.org>2012-08-22 19:14:09 -0700
commit6297b5e54b5511d4e72e8d5fc3b139650adc74d8 (patch)
tree1180e16365478b00a4c9f26ff0c39297e16a789a /crypto
parentf77609959ade7378eed8b03df4c248f6d44c7e15 (diff)
downloadlinux-3.10-6297b5e54b5511d4e72e8d5fc3b139650adc74d8.tar.gz
linux-3.10-6297b5e54b5511d4e72e8d5fc3b139650adc74d8.tar.bz2
linux-3.10-6297b5e54b5511d4e72e8d5fc3b139650adc74d8.zip
lp8727_charger: Unregister power supply at error path of lp8727_register_psy
if usb power supply registration fails, we wont unregister the ac power supply if battery power supply registration fails, we wont unregister the usb, and ac supply, take care of those things and also no need of goto -err_mem: at the fail case of kzalloc simply can have return -ENOMEM Signed-off-by: Devendra Naga <develkernel412222@gmail.com> Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions