Skip to content

Commit

Permalink
ARM: shmobile: armadillo: use PWM_LOOKUP to initialize struct pwm_lookup
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alexandre Belloni authored and Thierry Reding committed May 21, 2014
1 parent dee401e commit 48d6f14
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions arch/arm/mach-shmobile/board-armadillo800eva.c
Original file line number Diff line number Diff line change
Expand Up @@ -407,14 +407,8 @@ static struct platform_device pwm_device = {
};

static struct pwm_lookup pwm_lookup[] = {
{
.provider = "renesas-tpu-pwm",
.index = 2,
.dev_id = "pwm-backlight.0",
.con_id = NULL,
.period = 33333,
.polarity = PWM_POLARITY_INVERSED,
},
PWM_LOOKUP("renesas-tpu-pwm", 2, "pwm-backlight.0", NULL,
33333, PWM_POLARITY_INVERSED),
};

/* LCDC and backlight */
Expand Down

0 comments on commit 48d6f14

Please sign in to comment.