[PATCHv2 3/4] pwm: ftm-pwm: Convert to direct regmap API usage.

2014-04-28 Thread Xiubo Li
Since the regmap core has already support rich endianness modes of device, this patch convert to direct regmap API usage, preparing to support big endianness for LS1 SoC. Using the regmag framework will be more easy to support the endiannesses switching of one same device driver on different

[PATCHv2 3/4] pwm: ftm-pwm: Convert to direct regmap API usage.

2014-04-28 Thread Xiubo Li
Since the regmap core has already support rich endianness modes of device, this patch convert to direct regmap API usage, preparing to support big endianness for LS1 SoC. Using the regmag framework will be more easy to support the endiannesses switching of one same device driver on different