alistair23-linux/drivers/power
Paul Parsons c10a002a2b pda_power: Remove ac_draw_failed goto and label
A previous patch added the ac_draw_failed goto and label to
pda_power_probe(). The goto would be invoked after a failed call to
regulator_get().

However the way ac_draw is used - always after a check for NULL - suggests
that a failed call to regulator_get() was not fatal.

This patch removes the ac_draw_failed goto and label, partly reverting the
previous patch.

This patch also removes the assignment of an error code to ret after a
failed call to regulator_get(), since the error code is now never used.

Signed-off-by: Paul Parsons <lost.distance@yahoo.com>
Cc: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
2012-09-21 16:50:11 -07:00
..
avs
88pm860x_battery.c 88pm860x_battery and charger: Fix a few post-merge issues 2012-09-20 15:33:12 -07:00
88pm860x_charger.c 88pm860x_battery and charger: Fix a few post-merge issues 2012-09-20 15:33:12 -07:00
ab8500_btemp.c ab8500_btemp: Fix error return code 2012-08-22 18:47:51 -07:00
ab8500_charger.c ab8500_charger: Fix error return code 2012-08-22 18:47:25 -07:00
ab8500_fg.c ab8500_fg: Fix error return code 2012-08-22 18:48:01 -07:00
abx500_chargalg.c
apm_power.c
bq27x00_battery.c bq27x00_battery: Fix error return code 2012-08-22 18:48:13 -07:00
charger-manager.c charger-manager: Add support sysfs entry for charger 2012-09-21 16:32:40 -07:00
collie_battery.c
da9030_battery.c da9030_battery: Don't use 0 as NULL 2012-08-22 20:00:45 -07:00
da9052-battery.c da9052-battery: Don't free IRQ that wasn't requested 2012-09-20 15:00:12 -07:00
ds2760_battery.c
ds2780_battery.c
ds2781_battery.c ds2781_battery: Replace call to kzalloc with devm_kzalloc 2012-08-22 19:47:14 -07:00
ds2782_battery.c
gpio-charger.c
intel_mid_battery.c
isp1704_charger.c
jz4740-battery.c
Kconfig power_supply: Enable battery-charger for 88pm860x 2012-09-20 15:32:55 -07:00
lp8727_charger.c lp8727_charger: More pure cosmetic improvements 2012-09-20 18:07:23 -07:00
lp8788-charger.c power_supply: Add new lp8788 charger driver 2012-09-20 15:11:54 -07:00
Makefile power_supply: Enable battery-charger for 88pm860x 2012-09-20 15:32:55 -07:00
max8903_charger.c
max8925_power.c
max8997_charger.c
max8998_charger.c
max17040_battery.c
max17042_battery.c
olpc_battery.c Merge branch 'for-linus-3.6' of git://dev.laptop.org/users/dilinger/linux-olpc 2012-08-02 11:52:39 -07:00
pcf50633-charger.c
pda_power.c pda_power: Remove ac_draw_failed goto and label 2012-09-21 16:50:11 -07:00
pmu_battery.c
power_supply.h
power_supply_core.c Merge with upstream to accommodate with thermal changes 2012-07-31 05:16:47 -07:00
power_supply_leds.c
power_supply_sysfs.c power_supply: Add new power supply properties CHARGE_CURRENT/VOLTAGE_MAX 2012-08-22 21:59:15 -07:00
s3c_adc_battery.c
sbs-battery.c sbs-battery: Probe should try talking to the device 2012-09-20 14:57:52 -07:00
smb347-charger.c smb347-charger: Fix battery status reporting logic for charger faults 2012-09-20 14:44:45 -07:00
test_power.c
tosa_battery.c
twl4030_charger.c twl4030_charger: Use IRQF_ONESHOT 2012-09-20 15:41:49 -07:00
wm97xx_battery.c wm97xx_battery: Fix error return code 2012-08-22 18:47:40 -07:00
wm831x_backup.c
wm831x_power.c
wm8350_power.c
z2_battery.c