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)
committerThierry Reding <thierry.reding@gmail.com>
Wed, 21 May 2014 07:03:07 +0000 (09:03 +0200)
commit3796ce1d4d4b330a75005c5eda105603ce9d4071
treefdaed3c8281bee1e5bba3400d2f5ca7aecb47ce1
parent9c88669c2cfc91158f157b5584103ff7e5b6bedb
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>
drivers/pwm/core.c
include/linux/pwm.h