diff options
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2014-05-19 16:42:40 -0400 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2014-05-21 05:19:44 -0400 |
commit | 9becf5001130bcd24f57584e48467050e85eee03 (patch) | |
tree | 2269006238f8e1a9ecd33772daf57439750193d4 /arch/arm | |
parent | 48d6f146dced79d1df0cb91b30f1cdb749ecdf9f (diff) |
ARM: pxa: hx4700: use PWM_LOOKUP to initialize struct pwm_lookup
Use the new variant of the PWM_LOOKUP macro to initialize the PWM lookup
table.
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-pxa/hx4700.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/arch/arm/mach-pxa/hx4700.c b/arch/arm/mach-pxa/hx4700.c index 0788a1f171fe..c66ad4edc5e3 100644 --- a/arch/arm/mach-pxa/hx4700.c +++ b/arch/arm/mach-pxa/hx4700.c | |||
@@ -574,14 +574,8 @@ static struct platform_device backlight = { | |||
574 | }; | 574 | }; |
575 | 575 | ||
576 | static struct pwm_lookup hx4700_pwm_lookup[] = { | 576 | static struct pwm_lookup hx4700_pwm_lookup[] = { |
577 | { | 577 | PWM_LOOKUP("pxa27x-pwm.1", 0, "pwm-backlight", NULL, |
578 | .provider = "pxa27x-pwm.1", | 578 | 30923, PWM_POLARITY_NORMAL), |
579 | .index = 0, | ||
580 | .dev_id = "pwm-backlight", | ||
581 | .con_id = NULL, | ||
582 | .period = 30923, | ||
583 | .polarity = PWM_POLARITY_NORMAL, | ||
584 | }, | ||
585 | }; | 579 | }; |
586 | 580 | ||
587 | /* | 581 | /* |