pwm: fsl-ftm: Convert to direct regmap API usage
authorXiubo Li <Li.Xiubo@freescale.com>
Tue, 19 Aug 2014 04:38:02 +0000 (12:38 +0800)
committerThierry Reding <thierry.reding@gmail.com>
Wed, 20 Aug 2014 08:10:12 +0000 (10:10 +0200)
commit42fa98a9c3609c1aff466cb847e421c611cc9157
tree0b736f637bcc49b9ccc86106be61d4e396495c8f
parentcd6d92d2aa1556b22cd05acbc5f2cc8e5caafcc4
pwm: fsl-ftm: Convert to direct regmap API usage

The regmap core supports different endian modes for devices. This patch
convert to direct regmap API usage, preparing to support big endianness
for LS1 SoC.

Using the regmap framework it will be easy to support devices that only
differ in endianness with the same device driver.

Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-fsl-ftm.c