linux/drivers/regulator
Linus Walleij 78927aa40b
regulator: core: Actually put the gpiod after use
I went to great lengths to hand over the management of the GPIO
descriptors to the regulator core, and some stray rebased
oneliner in the old patch must have been assuming the devices
were still doing devres management of it.

We handed the management over to the regulator core, so of
course the regulator core shall issue gpiod_put() when done.

Sorry for the descriptor leak.

Fixes: 541d052d72 ("regulator: core: Only support passing enable GPIO descriptors")
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
2019-04-25 20:04:56 +01:00
..
88pg86x.c regulator: 88pg86x: new i2c dual regulator chip 2018-03-09 13:01:17 +00:00
88pm800.c
88pm8607.c regulator: 88pm8607: Remove unused fields from struct pm8607_regulator_info 2019-02-26 16:46:10 +00:00
aat2870-regulator.c
ab3100.c
ab8500-ext.c
ab8500.c regulator: ab8500: Drop AB8540/9540 support 2018-04-16 13:08:59 +01:00
act8865-regulator.c regulator: act8865: Fix act8600_sudcdc_voltage_ranges setting 2019-01-14 11:50:42 +00:00
act8945a-regulator.c regulator: act8945a: Use rdev_get_id() to access id of regulator 2019-01-07 17:01:26 +00:00
ad5398.c
anatop-regulator.c regulator: anatop: Switch to SPDX identifier 2018-05-24 15:17:07 +01:00
arizona-ldo1.c regulator: arizona_ldo1: Simplify arizona_ldo1_hc_set/get_voltage_sel 2019-02-26 11:48:34 +00:00
arizona-micsupp.c regulator: arizona-micsupp: Factor out generic initialization 2017-04-25 16:36:31 +01:00
as3711-regulator.c regulator: as3711: convert to SPDX identifiers 2018-11-13 16:21:50 -08:00
as3722-regulator.c regulator: as3722: Correct minor typo 2019-02-06 15:52:32 +00:00
axp20x-regulator.c regulator: axp20x: remove a redundant null check on rdev 2019-02-19 15:27:56 +00:00
bcm590xx-regulator.c regulator: bcm590xx: Fix .enable_reg for BCM590XX_REG_VSR 2019-01-07 16:12:33 +00:00
bd718x7-regulator.c regulator: bd718x7: Support SNVS low power state 2019-02-14 15:12:44 +00:00
bd9571mwv-regulator.c regulator: bd9571mwv: Constify regulator_ops 2019-01-24 17:53:12 +00:00
bd70528-regulator.c regulator: bd70528: drop struct bd70528 2019-02-14 14:45:30 +00:00
core.c regulator: core: Actually put the gpiod after use 2019-04-25 20:04:56 +01:00
cpcap-regulator.c regulator: cpcap: Constify omap4_regulators and xoom_regulators 2019-02-26 16:32:06 +00:00
da903x.c
da9052-regulator.c regulator: da9052: Use lowercase regulator names to match the DT 2019-01-25 17:52:59 +00:00
da9055-regulator.c regulator: da9055: Convert to use regulator_set/get_current_limit_regmap 2019-03-03 23:46:04 +00:00
da9062-regulator.c regulator: da9062: Use struct_size() in devm_kzalloc() 2019-02-26 11:49:19 +00:00
da9063-regulator.c regulator: da9063: Use struct_size() in devm_kzalloc() 2019-02-22 15:16:57 +00:00
da9210-regulator.c regulator: da9210: Convert to use regulator_set/get_current_limit_regmap 2019-03-03 23:46:25 +00:00
da9210-regulator.h
da9211-regulator.c regulator: da9211: Hand over GPIO to regulator core 2018-12-11 01:04:37 +00:00
da9211-regulator.h regulator: da9211: update for supporting da9223/4/5 2017-10-31 11:01:14 +00:00
db8500-prcmu.c
dbx500-prcmu.c regulator: convert to DEFINE_SHOW_ATTRIBUTE 2018-12-20 14:38:42 +00:00
dbx500-prcmu.h
devres.c
dummy.c
dummy.h
fan53555.c regulator: fan53555: Check pdata->slew_rate setting 2019-02-26 11:48:49 +00:00
fixed-helper.c regulator: fixed: Convert to use GPIO descriptor only 2018-09-17 14:32:22 -07:00
fixed.c regulator: fixed/gpio: Pull inversion/OD into gpiolib 2019-02-06 15:58:29 +00:00
gpio-regulator.c regulator: gpio: Simplify probe path 2019-02-06 16:01:18 +00:00
helpers.c regulator: core: Add set/get_current_limit helpers for regmap users 2019-03-03 23:45:27 +00:00
hi655x-regulator.c regulator: hi655x: Removed unused ctrl_regs field from struct hi655x_regulator 2019-01-14 11:44:09 +00:00
hi6421-regulator.c regulator: hi6421: Describe consumed platform device 2017-06-07 20:25:49 +01:00
hi6421v530-regulator.c regulator: hi6421v530: Describe consumed platform device 2017-06-14 18:27:20 +01:00
internal.h regulator: core: Only count load for enabled consumers 2018-11-22 14:38:00 +00:00
isl6271a-regulator.c regulator: isl6271a: Constify isl_core_ops and isl_fixed_ops 2019-01-28 15:30:58 +00:00
isl9305.c regulator: isl9305: Add missing .owner field in regulator_desc 2018-08-28 19:41:36 +01:00
Kconfig regulator: max77650: add regulator support 2019-01-29 15:22:12 +00:00
lm363x-regulator.c regulator: lm363x: Check return value of gpiod_get_index_optional 2019-02-08 16:50:52 +00:00
lochnagar-regulator.c Merge branch 'regulator-5.0' into regulator-5.1 stpmic1 const/range 2019-02-19 11:06:41 +00:00
lp872x.c regulator: lp872x: Convert to use regulator_set/get_current_limit_regmap 2019-03-03 23:46:45 +00:00
lp873x-regulator.c regulator: lp873x: Convert to use regulator_set/get_current_limit_regmap 2019-03-03 23:47:06 +00:00
lp3971.c regulator: lp3971: Constify lp3971_ldo_ops and lp3971_dcdc_ops 2019-01-28 12:18:11 +00:00
lp3972.c regulator: lp3972: Constify lp3972_ldo_ops and lp3972_dcdc_ops 2019-01-28 12:20:14 +00:00
lp8755.c regulator: lp8755: Constify lp8755_regulators 2019-01-28 12:20:54 +00:00
lp8788-buck.c regulator: lp8788-buck: Convert to linear range 2019-02-11 17:00:22 +00:00
lp8788-ldo.c regulator: lp8788-ldo: Constify lp8788_dldo_desc and lp8788_aldo_desc 2019-01-28 12:21:34 +00:00
lp87565-regulator.c regulator: lp87565: Constify lp87565_buck_ramp_delay and lp87565_buck_ops 2019-01-28 12:21:07 +00:00
ltc3589.c regmap: split up regmap_config.use_single_rw 2018-09-07 13:03:55 +01:00
ltc3676.c regulator: ltc3676: Fix module description 2019-02-15 17:39:36 +00:00
Makefile regulator: max77650: add regulator support 2019-01-29 15:22:12 +00:00
max1586.c treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
max8649.c
max8660.c treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
max8907-regulator.c
max8925-regulator.c
max8952.c regulator: max8952: Let core handle GPIO descriptor 2018-12-11 01:03:59 +00:00
max8973-regulator.c regulator: max8973: Let core handle GPIO descriptor 2018-12-11 01:04:31 +00:00
max8997-regulator.c regulator: Use of_node_name_eq for node name comparisons 2018-12-06 19:56:51 +00:00
max8998.c regulator: maxim: Add SPDX license identifiers 2018-08-08 10:52:50 +01:00
max14577-regulator.c regulator: max14577: Remove redundant MODULE_ALIAS 2019-01-14 11:46:13 +00:00
max77620-regulator.c regulator: max77620: Add missing .owner field in regulator_desc 2019-02-20 16:46:26 +00:00
max77650-regulator.c regulator: max77650: Convert to use regulator_set/get_current_limit_regmap 2019-03-03 23:47:26 +00:00
max77686-regulator.c regulator: max77686: Let core handle GPIO descriptor 2018-12-11 01:04:08 +00:00
max77693-regulator.c regulator: maxim: Add SPDX license identifiers 2018-08-08 10:52:50 +01:00
max77802-regulator.c regulator: max77802-regulator: fix indentation in if statement 2019-02-12 14:20:10 +00:00
mc13xxx-regulator-core.c regulator: mc13xxx: Constify regulator_ops variables 2019-03-04 00:01:08 +00:00
mc13xxx.h regulator: mc13xxx: Constify regulator_ops variables 2019-03-04 00:01:08 +00:00
mc13783-regulator.c regulator: mc13xxx: Constify regulator_ops variables 2019-03-04 00:01:08 +00:00
mc13892-regulator.c regulator: mc13xxx: Constify regulator_ops variables 2019-03-04 00:01:08 +00:00
mcp16502.c regulator: mcp16502: Remove module version 2019-02-26 11:49:04 +00:00
mt6311-regulator.c regulator: mt6311: Use linear instead of linear range for mt6311_buck_ops 2019-02-22 15:16:42 +00:00
mt6311-regulator.h
mt6323-regulator.c
mt6380-regulator.c regulator: mt6380: Add support for MT6380 2017-08-15 12:50:48 +01:00
mt6397-regulator.c
of_regulator.c regulator: Fix trivial language typos 2019-01-08 13:04:47 +00:00
palmas-regulator.c regulator: palmas: Constify palmas_smps_ramp_delay array 2019-03-04 00:00:47 +00:00
pbias-regulator.c treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
pcap-regulator.c
pcf50633-regulator.c
pfuze100-regulator.c regulator: pfuze100-regulator: add coin support to PF0100 2018-11-06 17:27:46 +00:00
pv88060-regulator.c regulator: pv88060: Convert to use regulator_set/get_current_limit_regmap 2019-03-03 23:59:20 +00:00
pv88060-regulator.h
pv88080-regulator.c regulator: pv88080: Convert to use regulator_set/get_current_limit_regmap 2019-03-03 23:59:46 +00:00
pv88080-regulator.h
pv88090-regulator.c regulator: pv88090: Convert to use regulator_set/get_current_limit_regmap 2019-03-04 00:00:06 +00:00
pv88090-regulator.h regulator: pv88090: Exception handling for out of bounds 2017-08-30 16:12:17 +01:00
pwm-regulator.c regulator: pwm: No need to make a copy of regulator_ops per instance 2019-01-14 11:46:05 +00:00
qcom_rpm-regulator.c regulator: qcom_rpm-regulator: add NULL check on of_match_device() return value 2017-07-07 13:42:03 +01:00
qcom_smd-regulator.c regulator: qcom-smd: Batch up requests for disabled regulators 2019-01-22 19:15:37 +00:00
qcom_spmi-regulator.c regulator: qcom_spmi: Indent with tabs instead of spaces 2018-07-20 17:40:57 +01:00
qcom-rpmh-regulator.c regulator: Use of_node_name_eq for node name comparisons 2018-12-06 19:56:51 +00:00
rc5t583-regulator.c treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
rk808-regulator.c regulator: rk808: Convert rk805 buck1/2 to use linear range 2019-02-06 15:56:17 +00:00
rn5t618-regulator.c regulator: rn5t618: Do not index regulator_desc arrays by id 2017-10-18 11:23:21 +01:00
rt5033-regulator.c regulator: rt5033: Constify rt5033_safe_ldo_ops and rt5033_buck_ops 2019-02-08 13:06:05 +00:00
s2mpa01.c regulator: s2mpa01: Fix step values for some LDOs 2019-02-13 12:31:19 +00:00
s2mps11.c regulator: s2mps11: Fix steps for buck7, buck8 and LDO35 2019-02-11 16:59:29 +00:00
s5m8767.c regulator: s5m8767: Simplify s5m8767_set_voltage_time_sel implementation 2019-02-21 18:54:11 +00:00
sc2731-regulator.c regulator: sc2731: Fix defines for SC2731_WR_UNLOCK and SC2731_PWR_WR_PROT_VALUE 2018-01-03 12:10:14 +00:00
sky81452-regulator.c
stm32-vrefbuf.c regulator: stm32-vrefbuf: add power management support 2019-02-28 14:20:48 +00:00
stpmic1_regulator.c Merge branch 'regulator-5.0' into regulator-5.1 stpmic1 const/range 2019-02-19 11:06:41 +00:00
stw481x-vmmc.c
sy8106a-regulator.c regulator: add support for SY8106A regulator 2018-05-09 18:25:06 +09:00
ti-abb-regulator.c treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
tps6105x-regulator.c
tps6507x-regulator.c
tps6524x-regulator.c
tps6586x-regulator.c regulator: tps6586x: Add support for TPS658624 2018-04-20 11:44:34 +01:00
tps51632-regulator.c
tps62360-regulator.c
tps65023-regulator.c regulator: tps65023: Fix inverted core enable logic. 2017-04-18 18:55:05 +01:00
tps65086-regulator.c
tps65090-regulator.c regulator: tps65090: Hand over GPIO to regulator core 2018-12-11 01:04:56 +00:00
tps65132-regulator.c regulator: tps65132: fix platform_no_drv_owner.cocci warnings 2017-04-14 17:59:32 +01:00
tps65217-regulator.c regulator: tps65217: Fix off-by-one for latest seletor of tps65217_uv1_ranges 2019-03-26 13:57:32 +00:00
tps65218-regulator.c Merge branch 'for-5.0' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator into regulator-5.1 2019-03-03 23:49:46 +00:00
tps65910-regulator.c regulator: tps65910: fix a missing check of return value 2018-12-21 11:04:59 +00:00
tps65912-regulator.c headers: separate linux/mod_devicetable.h from linux/platform_device.h 2018-07-07 17:52:26 +02:00
tps80031-regulator.c treewide: devm_kzalloc() -> devm_kcalloc() 2018-06-12 16:19:22 -07:00
twl6030-regulator.c regulator: twl6030: Constify regulator_ops 2019-02-20 16:53:11 +00:00
twl-regulator.c regulator: twl: Use of_device_get_match_data() 2019-01-22 17:26:16 +00:00
uniphier-regulator.c regulator: uniphier: Constify uniphier_regulator_ops 2019-02-02 17:05:42 +01:00
userspace-consumer.c
vctrl-regulator.c regulator: vctrl: Fix out of bounds array access for vctrl->vtable 2017-04-14 18:01:03 +01:00
vexpress-regulator.c
virtual.c
wm831x-dcdc.c regulator: wm831x-dcdc: Convert to use regulator_set/get_current_limit_regmap 2019-03-04 00:00:27 +00:00
wm831x-isink.c
wm831x-ldo.c
wm8350-regulator.c regulator: core: Use ww_mutex for regulators locking 2018-11-19 12:33:17 +00:00
wm8400-regulator.c
wm8994-regulator.c regulator: wm8994: Rely on core to handle GPIO descriptor 2018-12-12 16:47:10 +00:00