isp1704_charger: Fix probe error path
authorFelipe Contreras <felipe.contreras@gmail.com>
Wed, 1 Feb 2012 01:03:47 +0000 (03:03 +0200)
committerAnton Vorontsov <anton.vorontsov@linaro.org>
Mon, 26 Mar 2012 16:41:00 +0000 (20:41 +0400)
commitd2c0077c54794d668b3639079a4262a52088d5e2
tree38e2e440aec4ac502d3f58160f2c8703f9bd2c81
parentf7bae49aa1247a195a3fe4235edf6811c175bb7b
isp1704_charger: Fix probe error path

We enable power, but don't disable it in case of an error.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
drivers/power/isp1704_charger.c