diff options
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2014-05-19 16:42:39 -0400 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2014-05-21 05:19:37 -0400 |
commit | 48d6f146dced79d1df0cb91b30f1cdb749ecdf9f (patch) | |
tree | 0837d7ab32f5516384f752dd49308e16aed0baf9 /arch/arm/mach-shmobile/board-armadillo800eva.c | |
parent | dee401e1fd5eddc8e3d6ae0e8b5c4bd64aa2a369 (diff) |
ARM: shmobile: armadillo: 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: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'arch/arm/mach-shmobile/board-armadillo800eva.c')
-rw-r--r-- | arch/arm/mach-shmobile/board-armadillo800eva.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/arch/arm/mach-shmobile/board-armadillo800eva.c b/arch/arm/mach-shmobile/board-armadillo800eva.c index 1bf61dad9a35..ca82b1e2ebab 100644 --- a/arch/arm/mach-shmobile/board-armadillo800eva.c +++ b/arch/arm/mach-shmobile/board-armadillo800eva.c | |||
@@ -407,14 +407,8 @@ static struct platform_device pwm_device = { | |||
407 | }; | 407 | }; |
408 | 408 | ||
409 | static struct pwm_lookup pwm_lookup[] = { | 409 | static struct pwm_lookup pwm_lookup[] = { |
410 | { | 410 | PWM_LOOKUP("renesas-tpu-pwm", 2, "pwm-backlight.0", NULL, |
411 | .provider = "renesas-tpu-pwm", | 411 | 33333, PWM_POLARITY_INVERSED), |
412 | .index = 2, | ||
413 | .dev_id = "pwm-backlight.0", | ||
414 | .con_id = NULL, | ||
415 | .period = 33333, | ||
416 | .polarity = PWM_POLARITY_INVERSED, | ||
417 | }, | ||
418 | }; | 412 | }; |
419 | 413 | ||
420 | /* LCDC and backlight */ | 414 | /* LCDC and backlight */ |