Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9becf500 authored by Alexandre Belloni's avatar Alexandre Belloni Committed by Thierry Reding
Browse files

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: default avatarAlexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: default avatarPhilipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
parent 48d6f146
Loading
Loading
Loading
Loading
+2 −8
Original line number Diff line number Diff line
@@ -574,14 +574,8 @@ static struct platform_device backlight = {
};

static struct pwm_lookup hx4700_pwm_lookup[] = {
	{
		.provider = "pxa27x-pwm.1",
		.index = 0,
		.dev_id = "pwm-backlight",
		.con_id = NULL,
		.period = 30923,
		.polarity = PWM_POLARITY_NORMAL,
	},
	PWM_LOOKUP("pxa27x-pwm.1", 0, "pwm-backlight", NULL,
		   30923, PWM_POLARITY_NORMAL),
};

/*