Message ID | 20150821110539.GA153715@ivytown2 (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Fri, Aug 21, 2015 at 07:05:39PM +0800, kbuild test robot wrote: > drivers/gpu/drm/bridge/nxp-ptn3460.c:403:3-8: 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 > > Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> > --- > > nxp-ptn3460.c | 1 - > 1 file changed, 1 deletion(-) Applied with a slightly reworded commit message. Thanks, Thierry > > --- a/drivers/gpu/drm/bridge/nxp-ptn3460.c > +++ b/drivers/gpu/drm/bridge/nxp-ptn3460.c > @@ -400,7 +400,6 @@ static struct i2c_driver ptn3460_driver > .remove = ptn3460_remove, > .driver = { > .name = "nxp,ptn3460", > - .owner = THIS_MODULE, > .of_match_table = ptn3460_match, > }, > }; Applied with a slightly reworded commit message. Thanks, Thierry
--- a/drivers/gpu/drm/bridge/nxp-ptn3460.c +++ b/drivers/gpu/drm/bridge/nxp-ptn3460.c @@ -400,7 +400,6 @@ static struct i2c_driver ptn3460_driver .remove = ptn3460_remove, .driver = { .name = "nxp,ptn3460", - .owner = THIS_MODULE, .of_match_table = ptn3460_match, }, };
drivers/gpu/drm/bridge/nxp-ptn3460.c:403:3-8: 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 Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> --- nxp-ptn3460.c | 1 - 1 file changed, 1 deletion(-)