summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/twl-regulator.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2013-02-16 10:53:49 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-03-01 16:13:20 +0800
commitd1924519fe1dada0cfd9a228bf2ff1ea15840c84 (patch)
tree0266562de000b7680141d94b656948fdef600d80 /drivers/regulator/twl-regulator.c
parent4813dd0efcfbf85bd79759fda50b9a6ad4e5ff9c (diff)
downloadlinux-d1924519fe1dada0cfd9a228bf2ff1ea15840c84.tar.gz
linux-d1924519fe1dada0cfd9a228bf2ff1ea15840c84.tar.bz2
linux-d1924519fe1dada0cfd9a228bf2ff1ea15840c84.zip
regulator: twl: Remove TWL6030_FIXED_RESOURCE
TWL6030_FIXED_RESOURCE is not used now, remove it. TWL6030_FIXED_RESOURCE is not used since commit e76ab829cc "regulator: twl: Remove references to the twl4030 regulator" twl6030_fixed_resource is removed by commit 029dd3cef "regulator: twl: Remove another unused variable warning". Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator/twl-regulator.c')
-rw-r--r--drivers/regulator/twl-regulator.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/regulator/twl-regulator.c b/drivers/regulator/twl-regulator.c
index c9242988d010..cb872bfd3442 100644
--- a/drivers/regulator/twl-regulator.c
+++ b/drivers/regulator/twl-regulator.c
@@ -934,19 +934,6 @@ static const struct twlreg_info TWLFIXED_INFO_##label = { \
}, \
}
-#define TWL6030_FIXED_RESOURCE(label, offset, turnon_delay) \
-static struct twlreg_info TWLRES_INFO_##label = { \
- .base = offset, \
- .desc = { \
- .name = #label, \
- .id = TWL6030_REG_##label, \
- .ops = &twl6030_fixed_resource, \
- .type = REGULATOR_VOLTAGE, \
- .owner = THIS_MODULE, \
- .enable_time = turnon_delay, \
- }, \
- }
-
#define TWL6025_ADJUSTABLE_SMPS(label, offset) \
static const struct twlreg_info TWLSMPS_INFO_##label = { \
.base = offset, \