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

Johannes Thumshirn
2013-02-16T19:41:22Z

On Sat, Feb 16, 2013 at 07:56:18PM +0100, Thierry Reding wrote:
> 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

Oh sorry haven't seen them, I'll take care of it.

Johannes