]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerThierry Reding <thierry.reding@gmail.com>
Wed, 21 May 2014 09:19:36 +0000 (11:19 +0200)
commit4cea0a2ac684e2951c276022cb08df64a5eaa71b
tree81a2e0aa7fcdb2327f350fb21ef8c478641257ee
parent6b69c2c09c866282d854fb3a369dd408c112b7fb
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>
arch/arm/mach-pxa/hx4700.c