linux_dsm_epyc7002/drivers/regulator
Axel Lin cee8e35594 regulator: core: Refactor devm_regulator_get* APIs
The implementation of devm_regulator_get, devm_regulator_get_exclusive and
devm_regulator_get_optional are almost the same.
Introduce _devm_regulator_get helper function and refactor the code.

Also move devm_regulator_get_exclusive to proper place, put it after
regulator_get_exclusive() function.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
2013-09-17 00:28:44 +01:00
..
88pm800.c Merge remote-tracking branch 'regulator/topic/max8660' into regulator-next 2013-09-01 13:50:16 +01:00
88pm8607.c regulator: 88pm8607: Convert to devm_regulator_register 2013-09-17 00:27:55 +01:00
aat2870-regulator.c regulator: aat2870: Convert to devm_regulator_register 2013-09-17 00:27:55 +01:00
ab3100.c regulator: use dev_get_platdata() 2013-07-30 12:24:20 +01:00
ab8500-ext.c regulator: ab8500-ext: Staticize local symbols 2013-06-26 16:23:09 +01:00
ab8500.c regulator: Updates for v3.11 2013-07-03 11:56:38 -07:00
ad5398.c regulator: ad5398: Convert to devm_regulator_register 2013-09-17 00:27:55 +01:00
anatop-regulator.c regulator: anatop-regulator: Use devm_regulator_register 2013-09-17 00:28:41 +01:00
arizona-ldo1.c regulator: arizona-ldo1: Convert to devm_regulator_register() 2013-09-17 00:27:54 +01:00
arizona-micsupp.c regulator: arizona-micsupp: Convert to devm_regulator_register() 2013-09-17 00:27:54 +01:00
as3711-regulator.c regulator: as3711: Convert to devm_regulator_register 2013-09-17 00:27:56 +01:00
core.c regulator: core: Refactor devm_regulator_get* APIs 2013-09-17 00:28:44 +01:00
da903x.c regulator: da903x: Convert to devm_regulator_register 2013-09-17 00:27:56 +01:00
da9052-regulator.c regulator: da9052: Convert to devm_regulator_register 2013-09-17 00:27:56 +01:00
da9055-regulator.c regulator: da9055: Convert to devm_regulator_register 2013-09-17 00:27:56 +01:00
da9063-regulator.c regulator: da9063: Statize da9063_ldo_lim_event 2013-09-01 13:44:18 +01:00
da9210-regulator.c regulator: da9210: Remove redundant MODULE_ALIAS 2013-08-13 11:19:57 +01:00
da9210-regulator.h regulator: da9210: New driver 2013-08-06 17:46:15 +01:00
db8500-prcmu.c regulator: db8500-prcmu - remove incorrect __exit markup 2013-03-01 06:04:44 +00:00
dbx500-prcmu.c regulator: dbx500: Make local symbol static 2013-05-08 13:42:30 +01:00
dbx500-prcmu.h regulator: dbx500-prcmu: Remove operating_point from struct dbx500_regulator_info 2013-04-02 23:05:28 +01:00
dummy.c regulator: remove use of __devinit 2012-11-20 10:31:26 +09:00
dummy.h regulator: fix build when CONFIG_REGULATOR_DUMMY=n 2010-10-28 22:40:32 +01:00
fan53555.c regulator: fan53555: Convert to devm_regulator_register 2013-09-17 00:28:40 +01:00
fixed-helper.c regulator: extend the fixed dummy voltage regulator to accept voltage 2012-06-19 23:22:30 +01:00
fixed.c regulator: use dev_get_platdata() 2013-07-30 12:24:20 +01:00
gpio-regulator.c regulator: use dev_get_platdata() 2013-07-30 12:24:20 +01:00
helpers.c regulator: core: Move list_voltage_{linear,linear_range,table} to helpers.c 2013-08-09 11:45:02 +01:00
isl6271a-regulator.c regulator: isl6271a-regulator: Use devm_regulator_register 2013-09-17 00:28:42 +01:00
Kconfig Merge remote-tracking branch 'regulator/topic/pfuze100' into regulator-next 2013-09-01 13:50:18 +01:00
lp872x.c Merge remote-tracking branch 'regulator/topic/max8660' into regulator-next 2013-09-01 13:50:16 +01:00
lp3971.c regulator: use dev_get_platdata() 2013-07-30 12:24:20 +01:00
lp3972.c regulator: use dev_get_platdata() 2013-07-30 12:24:20 +01:00
lp8755.c Merge remote-tracking branch 'regulator/topic/max8660' into regulator-next 2013-09-01 13:50:16 +01:00
lp8788-buck.c regulator: Remove all platform_set_drvdata(pdev, NULL) in drivers 2013-05-12 18:34:12 +04:00
lp8788-ldo.c regulator: Remove all platform_set_drvdata(pdev, NULL) in drivers 2013-05-12 18:34:12 +04:00
Makefile Merge remote-tracking branch 'regulator/topic/pfuze100' into regulator-next 2013-09-01 13:50:18 +01:00
max1586.c regulator: max1586: Use devm_regulator_register 2013-09-17 00:28:40 +01:00
max8649.c regulator: max8649: Use devm_regulator_register 2013-09-17 00:28:40 +01:00
max8660.c regulator: max8660: Use devm_regulator_register 2013-09-17 00:28:41 +01:00
max8907-regulator.c regulator: max8907-regulator: Use devm_regulator_register 2013-09-17 00:28:41 +01:00
max8925-regulator.c regulator: use dev_get_platdata() 2013-07-30 12:24:20 +01:00
max8952.c regulator: use dev_get_platdata() 2013-07-30 12:24:20 +01:00
max8973-regulator.c regulator: max8973-regulator: Use devm_regulator_register 2013-09-17 00:28:41 +01:00
max8997.c regulator: Remove redundant NULL assignment 2013-09-17 00:28:44 +01:00
max8998.c regulator: max8998: Use devm_regulator_register 2013-09-17 00:28:41 +01:00
max77686.c regulator: Remove redundant NULL assignment 2013-09-17 00:28:44 +01:00
max77693.c regulator: Remove redundant NULL assignment 2013-09-17 00:28:44 +01:00
mc13xxx-regulator-core.c regulator: mc13xxx: Add warning of incorrect names of regulators 2013-04-28 02:10:00 +01:00
mc13xxx.h regulator: mc13xxx: Add warning of incorrect names of regulators 2013-04-28 02:10:00 +01:00
mc13783-regulator.c regulator: mc13783: Use devm_regulator_register 2013-09-17 00:28:42 +01:00
mc13892-regulator.c regulator: mc13892: Use devm_regulator_register 2013-09-17 00:28:42 +01:00
of_regulator.c regulator: core: Add support for disabling ramp delay 2013-07-15 11:27:48 +01:00
palmas-regulator.c regulator: palmas: Drop regulator_unregister while using devm_regulator_register 2013-09-17 00:28:44 +01:00
pcap-regulator.c regulator: use dev_get_platdata() 2013-07-30 12:24:20 +01:00
pcf50633-regulator.c regulator: use dev_get_platdata() 2013-07-30 12:24:20 +01:00
pfuze100-regulator.c regulator: pfuze100: Fix off-by-one for max_register setting 2013-08-02 11:29:00 +01:00
rc5t583-regulator.c regulator: rc5t583: Use devm_regulator_register 2013-09-17 00:28:42 +01:00
s2mps11.c regulator: s2mps11: Use devm_regulator_register 2013-09-17 00:28:40 +01:00
s5m8767.c regulator: s5m8767: Covert to devm_regulator_register() 2013-09-17 00:27:54 +01:00
ti-abb-regulator.c regulator: ti-abb: Use devm_regulator_register 2013-09-17 00:28:42 +01:00
tps6105x-regulator.c regulator: remove use of __devexit 2012-11-20 10:53:38 +09:00
tps6507x-regulator.c regulator: tps6507x: Use devm_regulator_register 2013-09-17 00:28:43 +01:00
tps6524x-regulator.c regulator: use dev_get_platdata() 2013-07-30 12:24:20 +01:00
tps6586x-regulator.c regulator: tps6586x: Use devm_regulator_register 2013-09-17 00:28:43 +01:00
tps51632-regulator.c regulator: tps51632: Use devm_regulator_register 2013-09-17 00:28:42 +01:00
tps62360-regulator.c regulator: tps62360: Use devm_regulator_register 2013-09-17 00:28:43 +01:00
tps65023-regulator.c regulator: tps65023: Use devm_regulator_register 2013-09-17 00:28:43 +01:00
tps65090-regulator.c regulator: tps65090: Use devm_regulator_register 2013-09-17 00:28:43 +01:00
tps65217-regulator.c regulator: tps65217: Use devm_regulator_register 2013-09-17 00:28:43 +01:00
tps65910-regulator.c regulator: tps65910: Use devm_regulator_register 2013-09-17 00:28:43 +01:00
tps65912-regulator.c regulator: tps65912: Use devm_regulator_register 2013-09-17 00:28:44 +01:00
tps80031-regulator.c regulator: tps80031: Use devm_regulator_register 2013-09-17 00:28:44 +01:00
twl-regulator.c regulator: use dev_get_platdata() 2013-07-30 12:24:20 +01:00
userspace-consumer.c regulator: use dev_get_platdata() 2013-07-30 12:24:20 +01:00
vexpress.c regulator: remove use of __devexit 2012-11-20 10:53:38 +09:00
virtual.c regulator: use dev_get_platdata() 2013-07-30 12:24:20 +01:00
wm831x-dcdc.c regulator: wm831x-dcdc: Convert to devm_regulator_register() 2013-09-17 00:27:54 +01:00
wm831x-isink.c regulator: wm831x-isink: Convert to devm_regulator_register() 2013-09-17 00:27:54 +01:00
wm831x-ldo.c regulator: wm831x-ldo: Convert to devm_regulator_register() 2013-09-17 00:27:55 +01:00
wm8350-regulator.c regulator: wm8350: Convert to devm_regulator_register() 2013-09-17 00:27:55 +01:00
wm8400-regulator.c regulator: wm8400: Convert to devm_regulator_register() 2013-09-17 00:27:55 +01:00
wm8994-regulator.c regulator: wm8994: Convert to devm_regulator_register 2013-09-17 00:27:55 +01:00