alistair23-linux/drivers/power
Linus Walleij 86336ba4b7 power: poweroff: gpio: convert to use descriptors
This switches the GPIO poweroff driver to use GPIO descriptors
rather than numeral GPIOs. We get rid of the specific inversion
handling as GPIO descriptors know if they are active low or
high and can assert the line properly, so we do not need to
check the flag OF_GPIO_ACTIVE_LOW returned from the old call
of_get_gpio_flags() anymore.

Also convert to use managed resources and use dev_* message
printing while we're at it.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
2014-07-18 23:40:23 +02:00
..
avs
reset power: poweroff: gpio: convert to use descriptors 2014-07-18 23:40:23 +02:00
88pm860x_battery.c
88pm860x_charger.c
ab8500_bmdata.c
ab8500_btemp.c
ab8500_charger.c
ab8500_fg.c
abx500_chargalg.c
apm_power.c
bq27x00_battery.c bq27000: report missing device better. 2014-07-18 23:40:22 +02:00
bq2415x_charger.c bq2415x_charger: Fix Atomic Sleep Bug 2014-07-18 23:40:22 +02:00
bq24190_charger.c
bq24735-charger.c
charger-manager.c
collie_battery.c
da9030_battery.c
da9052-battery.c
ds2760_battery.c
ds2780_battery.c
ds2781_battery.c
ds2782_battery.c
generic-adc-battery.c
goldfish_battery.c
gpio-charger.c
intel_mid_battery.c
isp1704_charger.c
jz4740-battery.c
Kconfig
lp8727_charger.c
lp8788-charger.c
Makefile
max8903_charger.c
max8925_power.c
max8997_charger.c
max8998_charger.c
max14577_charger.c
max17040_battery.c
max17042_battery.c
olpc_battery.c
pcf50633-charger.c
pda_power.c
pm2301_charger.c
pm2301_charger.h
pmu_battery.c
power_supply.h
power_supply_core.c power_supply: allow power supply devices registered w/o wakeup source 2014-05-30 13:45:25 +02:00
power_supply_leds.c
power_supply_sysfs.c
rx51_battery.c rx51_battery: convert to iio consumer 2014-07-18 23:40:22 +02:00
s3c_adc_battery.c
sbs-battery.c
smb347-charger.c
test_power.c
tosa_battery.c
tps65090-charger.c mfd: tps65090: Stop caching most registers 2014-04-23 12:32:19 +01:00
twl4030_charger.c
twl4030_madc_battery.c
wm97xx_battery.c
wm831x_backup.c
wm831x_power.c
wm8350_power.c
z2_battery.c