Re: [PATCH] pwm: twl: Use to_twl() instead of container_of()

Thierry Reding
2013-02-16T18:56:23Z

[-- Attachment #1: Type: text/plain, Size: 490 bytes --]

On Sat, Feb 16, 2013 at 07:20:51PM +0100, Johannes Thumshirn wrote:
> In twl6030_pwm_disable() use to_twl() instead of container_of() like in the
> rest of the driver.
>
> Signed-off-by: Johannes Thumshirn <morbidrsa@gmail.com>
> ---
> drivers/pwm/pwm-twl.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)

Hi Johannes,

I see that container_of() is also still used in twl4030_pwm_free() and
twl6030_pwm_enable(). Would you mind fixing those up as well?

Thierry

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]