ARM: pxa: hx4700: initialize all the struct pwm_lookup members
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Mon, 19 May 2014 20:42:36 +0000 (22:42 +0200)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Wed, 4 Feb 2015 10:14:39 +0000 (11:14 +0100)
commit644002a55744540a3c03156861590a55dfe34bcc
treedf79f872c5439a678d65fdc62ee8bd8128bbbdc0
parenta47a417ae5221955e040ebb2a6337e9d03f2a889
ARM: pxa: hx4700: initialize all the struct pwm_lookup members

Instead of relying on the .pwm_period_ns member of the pwm-backlight
driver's platform data, the PWM period can be retrieved from 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>
(cherry picked from commit fcb355063ffb12a834b3ca1383c9beec9285d568)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-pxa/hx4700.c