pwm: add period and polarity to struct pwm_lookup
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Mon, 19 May 2014 20:42:32 +0000 (22:42 +0200)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Wed, 4 Feb 2015 10:14:37 +0000 (11:14 +0100)
commit8d9f39a5e638611fe815e19f04c496c853b68d66
treeb2372a3f0c6a8cbc2bece2b11d8c818adf13e501
parent5986e833c4ff54206e1c2667c6b7119dc4b52c92
pwm: add period and polarity to struct pwm_lookup

Add period and polarity members to struct pwm_lookup so that platforms
using the lookup table can be treated the same way as those using the
device tree.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
(cherry picked from commit 3796ce1d4d4b330a75005c5eda105603ce9d4071)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/pwm/core.c
include/linux/pwm.h