diff options
author | Axel Lin <axel.lin@gmail.com> | 2012-05-08 04:25:10 -0400 |
---|---|---|
committer | Haojian Zhuang <haojian.zhuang@gmail.com> | 2012-05-13 21:30:04 -0400 |
commit | 0bf189abc52b89bfcfa9782543de7f5e90263fe5 (patch) | |
tree | a64266cb44abab200f27c529b78ff618bfa3daa9 /arch/arm/mach-pxa/magician.c | |
parent | 36be50515fe2aef61533b516fa2576a2c7fe7664 (diff) |
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/magician.c')
-rw-r--r-- | arch/arm/mach-pxa/magician.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/arch/arm/mach-pxa/magician.c b/arch/arm/mach-pxa/magician.c index 8de0651d7ef..2db697cd2b4 100644 --- a/arch/arm/mach-pxa/magician.c +++ b/arch/arm/mach-pxa/magician.c | |||
@@ -579,12 +579,8 @@ static struct platform_device power_supply = { | |||
579 | */ | 579 | */ |
580 | 580 | ||
581 | static struct regulator_consumer_supply bq24022_consumers[] = { | 581 | static struct regulator_consumer_supply bq24022_consumers[] = { |
582 | { | 582 | REGULATOR_SUPPLY("vbus_draw", NULL), |
583 | .supply = "vbus_draw", | 583 | REGULATOR_SUPPLY("ac_draw", NULL), |
584 | }, | ||
585 | { | ||
586 | .supply = "ac_draw", | ||
587 | }, | ||
588 | }; | 584 | }; |
589 | 585 | ||
590 | static struct regulator_init_data bq24022_init_data = { | 586 | static struct regulator_init_data bq24022_init_data = { |