1
0
Fork 0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-01-26 18:43:33 -05:00
linux/drivers/regulator
Axel Lin 8ae5767ba1 regulator: max8997: Convert ot use devm_kzalloc
Also simplify the error handling to start unwind from the place
regulator_register fails.

No need to check rdev[i] is NULL or not before calling regulator_unregister.
regulator_unregister is safe if rdev is NULL,

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2012-04-23 13:20:26 +01:00
..
88pm8607.c regulator: 88pm8607: Fix writting value to vol_reg in pm8607_set_voltage_sel 2012-04-19 13:45:19 +01:00
aat2870-regulator.c regulator: Remove unneeded include of linux/delay.h from regulator drivers 2012-04-23 13:20:26 +01:00
ab3100.c regulator: Remove unneeded include of linux/delay.h from regulator drivers 2012-04-23 13:20:26 +01:00
ab8500.c regulator: Fix build of ab8500 2012-04-10 09:36:34 +01:00
ad5398.c regulator: core: Use a struct to pass in regulator runtime configuration 2012-04-09 12:37:09 +01:00
anatop-regulator.c regulator: Convert anatop to use a struct to pass in regulator runtime configuration 2012-04-10 17:28:53 +01:00
core.c regulator: Appease smatch in regulator_register() 2012-04-11 10:19:12 +01:00
da903x.c regulator: Fix a typo in da903x.c 2012-04-10 09:52:53 +01:00
da9052-regulator.c regulator: da9052: Directly include of.h 2012-04-16 09:54:24 +01:00
db8500-prcmu.c regulator: core: Use a struct to pass in regulator runtime configuration 2012-04-09 12:37:09 +01:00
dbx500-prcmu.c
dbx500-prcmu.h
dummy.c regulator: core: Use a struct to pass in regulator runtime configuration 2012-04-09 12:37:09 +01:00
dummy.h
fixed-helper.c
fixed.c regulator: Remove unneeded include of linux/delay.h from regulator drivers 2012-04-23 13:20:26 +01:00
gpio-regulator.c regulator: Remove unneeded include of linux/delay.h from regulator drivers 2012-04-23 13:20:26 +01:00
isl6271a-regulator.c regulator: Remove unneeded include of linux/delay.h from regulator drivers 2012-04-23 13:20:26 +01:00
Kconfig
lp3971.c regulator: core: Use a struct to pass in regulator runtime configuration 2012-04-09 12:37:09 +01:00
lp3972.c regulator: core: Use a struct to pass in regulator runtime configuration 2012-04-09 12:37:09 +01:00
Makefile
max1586.c regulator: max1586: Use devm_kzalloc() 2012-04-13 09:59:39 +01:00
max8649.c regulator: max8649: Use devm_* APIs 2012-04-10 11:04:26 +01:00
max8660.c regulator: max8660: Fix a memory leak due to missing devm_kzalloc conversion 2012-04-17 14:44:32 +01:00
max8925-regulator.c regulator: core: Use a struct to pass in regulator runtime configuration 2012-04-09 12:37:09 +01:00
max8952.c regulator: max8952: Convert to get_voltage_sel 2012-04-20 14:05:13 +01:00
max8997.c regulator: max8997: Convert ot use devm_kzalloc 2012-04-23 13:20:26 +01:00
max8998.c regulator: Remove unneeded include of linux/delay.h from regulator drivers 2012-04-23 13:20:26 +01:00
mc13xxx-regulator-core.c
mc13xxx.h
mc13783-regulator.c regulator: Fix build error for mc13783 and mc13892 2012-04-10 09:52:53 +01:00
mc13892-regulator.c Linux 3.4-rc2 2012-04-10 09:52:59 +01:00
of_regulator.c
pcap-regulator.c regulator: core: Use a struct to pass in regulator runtime configuration 2012-04-09 12:37:09 +01:00
pcf50633-regulator.c regulator: core: Use a struct to pass in regulator runtime configuration 2012-04-09 12:37:09 +01:00
rc5t583-regulator.c regulator: Remove unneeded include of linux/delay.h from regulator drivers 2012-04-23 13:20:26 +01:00
s5m8767.c regulator: Remove unneeded include of linux/delay.h from regulator drivers 2012-04-23 13:20:26 +01:00
tps6105x-regulator.c regulator: core: Use a struct to pass in regulator runtime configuration 2012-04-09 12:37:09 +01:00
tps6507x-regulator.c regulator: Remove unneeded include of linux/delay.h from regulator drivers 2012-04-23 13:20:26 +01:00
tps6524x-regulator.c regulator: Convert tps65xxx regulator drivers to use devm_kzalloc 2012-04-11 10:16:50 +01:00
tps6586x-regulator.c Linux 3.4-rc2 2012-04-10 09:52:59 +01:00
tps62360-regulator.c regulator: Remove unneeded include of linux/delay.h from regulator drivers 2012-04-23 13:20:26 +01:00
tps65023-regulator.c regulator: Remove unneeded include of linux/delay.h from regulator drivers 2012-04-23 13:20:26 +01:00
tps65090-regulator.c regulator: Remove unneeded include of linux/delay.h from regulator drivers 2012-04-23 13:20:26 +01:00
tps65217-regulator.c regulator: core: Use a struct to pass in regulator runtime configuration 2012-04-09 12:37:09 +01:00
tps65910-regulator.c regulator: Remove unneeded include of linux/delay.h from regulator drivers 2012-04-23 13:20:26 +01:00
tps65912-regulator.c regulator: Remove unneeded include of linux/delay.h from regulator drivers 2012-04-23 13:20:26 +01:00
twl-regulator.c regulator: Remove unneeded include of linux/delay.h from regulator drivers 2012-04-23 13:20:26 +01:00
userspace-consumer.c regulator: userspace-consumer: Convert to use devm_* APIs 2012-04-18 10:26:24 +01:00
virtual.c regulator: virtual: Replace strict_strtol with kstrtol 2012-04-19 13:48:34 +01:00
wm831x-dcdc.c Linux 3.4-rc2 2012-04-10 09:52:59 +01:00
wm831x-isink.c Linux 3.4-rc2 2012-04-10 09:52:59 +01:00
wm831x-ldo.c Linux 3.4-rc2 2012-04-10 09:52:59 +01:00
wm8350-regulator.c Linux 3.4-rc2 2012-04-10 09:52:59 +01:00
wm8400-regulator.c regulator: core: Use a struct to pass in regulator runtime configuration 2012-04-09 12:37:09 +01:00
wm8994-regulator.c regulator: wm8994: Convert to set_voltage_sel() 2012-04-15 12:07:50 +01:00