Re: [PATCH] pwm: twl: Use to_twl() instead of container_of()
From: Johannes Thumshirn
Date: Sat Feb 16 2013 - 14:41:24 EST
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@xxxxxxxxx>
> > ---
> > 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/