summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/palm27x.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-05-08 10:25:10 +0200
committerHaojian Zhuang <haojian.zhuang@gmail.com>2012-05-14 03:30:04 +0200
commit0bf189abc52b89bfcfa9782543de7f5e90263fe5 (patch)
treea64266cb44abab200f27c529b78ff618bfa3daa9 /arch/arm/mach-pxa/palm27x.c
parentLinux 3.4-rc7 (diff)
downloadlinux-0bf189abc52b89bfcfa9782543de7f5e90263fe5.tar.xz
linux-0bf189abc52b89bfcfa9782543de7f5e90263fe5.zip
ARM: pxa: Use REGULATOR_SUPPLY macro
Signed-off-by: Axel Lin <axel.lin@gmail.com> Cc: Eric Miao <eric.y.miao@gmail.com> Tested-by: Paul Parsons <lost.distance@yahoo.com> Acked-by: Philipp Zabel <philipp.zabel@gmail.com> Acked-by: Robert Jarzmik <robert.jarzmik@free.fr> Acked-by: Marek Vasut <marek.vasut@gmail.com> Acked-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Diffstat (limited to 'arch/arm/mach-pxa/palm27x.c')
-rw-r--r--arch/arm/mach-pxa/palm27x.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/mach-pxa/palm27x.c b/arch/arm/mach-pxa/palm27x.c
index fbc10d7b95d1..dad71cfa34c8 100644
--- a/arch/arm/mach-pxa/palm27x.c
+++ b/arch/arm/mach-pxa/palm27x.c
@@ -429,9 +429,7 @@ void __init palm27x_power_init(int ac, int usb)
#if defined(CONFIG_REGULATOR_MAX1586) || \
defined(CONFIG_REGULATOR_MAX1586_MODULE)
static struct regulator_consumer_supply palm27x_max1587a_consumers[] = {
- {
- .supply = "vcc_core",
- }
+ REGULATOR_SUPPLY("vcc_core", NULL),
};
static struct regulator_init_data palm27x_max1587a_v3_info = {