Re: [PATCH] mfd: act8945a: fix platform_no_drv_owner.cocci warnings

From: Lee Jones
Date: Mon Mar 07 2016 - 23:51:20 EST


On Tue, 08 Mar 2016, Yang, Wenyou wrote:

> Hi Fengguang Wu,
>
> Thank you for your patch.
>
> > -----Original Message-----
> > From: kbuild test robot [mailto:lkp@xxxxxxxxx]
> > Sent: 2016å3æ8æ 7:54
> > To: Yang, Wenyou <Wenyou.Yang@xxxxxxxxx>
> > Cc: kbuild-all@xxxxxx; Lee Jones <lee.jones@xxxxxxxxxx>; Rob Herring
> > <robh+dt@xxxxxxxxxx>; Pawel Moll <pawel.moll@xxxxxxx>; Mark Rutland
> > <mark.rutland@xxxxxxx>; Ian Campbell <ijc+devicetree@xxxxxxxxxxxxxx>; Kumar
> > Gala <galak@xxxxxxxxxxxxxx>; Ferre, Nicolas <Nicolas.FERRE@xxxxxxxxx>;
> > linux-kernel@xxxxxxxxxxxxxxx; devicetree@xxxxxxxxxxxxxxx; Yang, Wenyou
> > <Wenyou.Yang@xxxxxxxxx>
> > Subject: [PATCH] mfd: act8945a: fix platform_no_drv_owner.cocci warnings
> >
> > drivers/mfd/act8945a.c:100:6-11: No need to set .owner here. The core will do it.
> >
> > Remove .owner field if calls are used which set it automatically
> >
> > Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
> >
> > CC: Wenyou Yang <wenyou.yang@xxxxxxxxx>
> > Signed-off-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>
>
> Reviewed-by: Wenyou Yang <wenyou.yang@xxxxxxxxx>

Please fix this code up into the original patch and resubmit the set.

--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog