linux/drivers/power
Wei Yongjun 33e7664a0a power_supply: tps65217-charger: fix missing platform_set_drvdata()
Add missing platform_set_drvdata() in tps65217_charger_probe(), otherwise
calling platform_get_drvdata() in remove returns NULL.

This is detected by Coccinelle semantic patch.

Fixes: 3636859b28 ("power_supply: Add support for tps65217-charger")
Signed-off-by: Wei Yongjun <weiyj.lk@gmail.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
2016-08-15 23:10:44 +02:00
..
avs PM / AVS: rockchip-io: make io-domains a child of the GRF 2016-04-26 19:12:28 +02:00
reset power: reset: hisi-reboot: Unmap region obtained by of_iomap 2016-08-12 22:42:37 +02:00
88pm860x_battery.c
88pm860x_charger.c power_supply: 88pm860x_charger: do not pass NULL to power_supply_put 2016-03-03 15:07:22 +01:00
ab8500_bmdata.c
ab8500_btemp.c power: ab8500: convert to use match_string() helper 2016-03-17 15:09:34 -07:00
ab8500_charger.c power: ab8500: convert to use match_string() helper 2016-03-17 15:09:34 -07:00
ab8500_fg.c power: ab8500: convert to use match_string() helper 2016-03-17 15:09:34 -07:00
abx500_chargalg.c power: ab8500: convert to use match_string() helper 2016-03-17 15:09:34 -07:00
act8945a_charger.c power: act8945a: add charger driver for ACT8945A 2016-02-24 18:31:24 +01:00
apm_power.c
axp20x_usb_power.c power: axp20x_usb: Add support for usb power-supply on axp22x pmics 2016-06-10 03:31:27 +02:00
axp288_charger.c power: axp288_charger: Replace deprecatd API of extcon 2016-06-10 11:12:35 +09:00
axp288_fuel_gauge.c
bq27xxx_battery_i2c.c power_supply: bq27xxx_battery: Fix copy/paste error in header comment 2016-06-10 00:19:06 +02:00
bq27xxx_battery.c power supply and reset changes for the v4.8 series 2016-07-26 19:49:09 -07:00
bq2415x_charger.c
bq24190_charger.c
bq24257_charger.c
bq24735-charger.c
bq25890_charger.c
charger-manager.c power: charger_manager: convert to use match_string() helper 2016-03-17 15:09:34 -07:00
collie_battery.c
da9030_battery.c
da9052-battery.c
da9150-charger.c
da9150-fg.c
ds2760_battery.c
ds2780_battery.c
ds2781_battery.c
ds2782_battery.c
generic-adc-battery.c
goldfish_battery.c goldfish: Enable ACPI-based enumeration for goldfish battery 2016-03-03 13:55:36 +01:00
gpio-charger.c
intel_mid_battery.c
ipaq_micro_battery.c power: ipaq-micro-battery: freeing the wrong variable 2016-04-10 17:19:52 +02:00
isp1704_charger.c
jz4740-battery.c jz4740-battery: Correct voltage change check 2016-03-03 15:05:08 +01:00
Kconfig power supply and reset changes for the v4.8 series 2016-07-26 19:49:09 -07:00
lp8727_charger.c
lp8788-charger.c power_supply: lp8788-charger: initialize boolean 'found' 2016-03-03 15:01:49 +01:00
ltc2941-battery-gauge.c
Makefile power: act8945a: add charger driver for ACT8945A 2016-02-24 18:31:24 +01:00
max8903_charger.c max8903: adds support for initiation via device tree 2016-06-28 20:16:26 +02:00
max8925_power.c power/max8925: freeing wrong variable 2016-04-10 17:19:33 +02:00
max8997_charger.c
max8998_charger.c
max14577_charger.c
max17040_battery.c
max17042_battery.c power: supply: max17042_battery: fix model download bug. 2016-08-12 22:42:25 +02:00
max77693_charger.c
olpc_battery.c
pcf50633-charger.c
pda_power.c
pm2301_charger.c power: pm2301-charger: use __maybe_unused to hide pm functions 2016-03-03 15:12:08 +01:00
pm2301_charger.h
pmu_battery.c
power_supply_core.c power supply and reset changes for the v4.8 series 2016-07-26 19:49:09 -07:00
power_supply_leds.c
power_supply_sysfs.c power_supply: fix return value of get_property 2016-07-01 22:44:34 +02:00
power_supply.h
qcom_smbb.c power: qcom_smbb: Make an extcon for usb cable detection 2016-06-29 23:10:12 +02:00
rt5033_battery.c
rt9455_charger.c
rx51_battery.c
s3c_adc_battery.c
sbs-battery.c sbs-battery: fix power status when battery charging near dry 2016-04-10 17:22:35 +02:00
smb347-charger.c
test_power.c
tosa_battery.c
tps65090-charger.c
tps65217_charger.c power_supply: tps65217-charger: fix missing platform_set_drvdata() 2016-08-15 23:10:44 +02:00
twl4030_charger.c
twl4030_madc_battery.c
wm97xx_battery.c
wm831x_backup.c
wm831x_power.c
wm8350_power.c
z2_battery.c