From 0bf189abc52b89bfcfa9782543de7f5e90263fe5 Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Tue, 8 May 2012 16:25:10 +0800 Subject: ARM: pxa: Use REGULATOR_SUPPLY macro Signed-off-by: Axel Lin Cc: Eric Miao Tested-by: Paul Parsons Acked-by: Philipp Zabel Acked-by: Robert Jarzmik Acked-by: Marek Vasut Acked-by: Jonathan Cameron Signed-off-by: Haojian Zhuang --- arch/arm/mach-pxa/cm-x300.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'arch/arm/mach-pxa/cm-x300.c') diff --git a/arch/arm/mach-pxa/cm-x300.c b/arch/arm/mach-pxa/cm-x300.c index 313274016277..3e4e9fe2d462 100644 --- a/arch/arm/mach-pxa/cm-x300.c +++ b/arch/arm/mach-pxa/cm-x300.c @@ -713,9 +713,7 @@ struct da9030_battery_info cm_x300_battery_info = { }; static struct regulator_consumer_supply buck2_consumers[] = { - { - .supply = "vcc_core", - }, + REGULATOR_SUPPLY("vcc_core", NULL), }; static struct regulator_init_data buck2_data = { -- cgit v1.2.3