aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator/mc13xxx.h
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2011-12-21 10:00:45 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-12-22 06:07:21 -0500
commit3a5d03158d0174ae700e15b63eab2023f27aeb88 (patch)
tree38201bea2245e75151bcd960849a27af18935ab1 /drivers/regulator/mc13xxx.h
parentfded2f4faee7670b0545ac05bd2b3ed6b9afcda2 (diff)
regulator: mc13892: remove the unnecessary prefix from regulator name
It's not really necessary to add a prefix 'MC13892__' for each mc13892 regulator name, since the chip must have been identified as mc13892 when we look at the regulator name. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator/mc13xxx.h')
-rw-r--r--drivers/regulator/mc13xxx.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/regulator/mc13xxx.h b/drivers/regulator/mc13xxx.h
index 27758267e122..75e383226a87 100644
--- a/drivers/regulator/mc13xxx.h
+++ b/drivers/regulator/mc13xxx.h
@@ -48,7 +48,7 @@ extern struct regulator_ops mc13xxx_fixed_regulator_ops;
48#define MC13xxx_DEFINE(prefix, _name, _reg, _vsel_reg, _voltages, _ops) \ 48#define MC13xxx_DEFINE(prefix, _name, _reg, _vsel_reg, _voltages, _ops) \
49 [prefix ## _name] = { \ 49 [prefix ## _name] = { \
50 .desc = { \ 50 .desc = { \
51 .name = #prefix "_" #_name, \ 51 .name = #_name, \
52 .n_voltages = ARRAY_SIZE(_voltages), \ 52 .n_voltages = ARRAY_SIZE(_voltages), \
53 .ops = &_ops, \ 53 .ops = &_ops, \
54 .type = REGULATOR_VOLTAGE, \ 54 .type = REGULATOR_VOLTAGE, \
@@ -66,7 +66,7 @@ extern struct regulator_ops mc13xxx_fixed_regulator_ops;
66#define MC13xxx_FIXED_DEFINE(prefix, _name, _reg, _voltages, _ops) \ 66#define MC13xxx_FIXED_DEFINE(prefix, _name, _reg, _voltages, _ops) \
67 [prefix ## _name] = { \ 67 [prefix ## _name] = { \
68 .desc = { \ 68 .desc = { \
69 .name = #prefix "_" #_name, \ 69 .name = #_name, \
70 .n_voltages = ARRAY_SIZE(_voltages), \ 70 .n_voltages = ARRAY_SIZE(_voltages), \
71 .ops = &_ops, \ 71 .ops = &_ops, \
72 .type = REGULATOR_VOLTAGE, \ 72 .type = REGULATOR_VOLTAGE, \
@@ -81,7 +81,7 @@ extern struct regulator_ops mc13xxx_fixed_regulator_ops;
81#define MC13xxx_GPO_DEFINE(prefix, _name, _reg, _voltages, _ops) \ 81#define MC13xxx_GPO_DEFINE(prefix, _name, _reg, _voltages, _ops) \
82 [prefix ## _name] = { \ 82 [prefix ## _name] = { \
83 .desc = { \ 83 .desc = { \
84 .name = #prefix "_" #_name, \ 84 .name = #_name, \
85 .n_voltages = ARRAY_SIZE(_voltages), \ 85 .n_voltages = ARRAY_SIZE(_voltages), \
86 .ops = &_ops, \ 86 .ops = &_ops, \
87 .type = REGULATOR_VOLTAGE, \ 87 .type = REGULATOR_VOLTAGE, \