Message ID | 20181106113319.GA17755@lkp-sb05 (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | media: platform: fix platform_no_drv_owner.cocci warnings | expand |
On Tue, Nov 06, 2018 at 07:33:19PM +0800, kbuild test robot wrote: > From: kbuild test robot <fengguang.wu@intel.com> > > drivers/staging/media/sunxi/cedrus/cedrus.c:421: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 > > Fixes: 50e761516f2b ("media: platform: Add Cedrus VPU decoder driver") > CC: Paul Kocialkowski <paul.kocialkowski@bootlin.com> > Signed-off-by: kbuild test robot <fengguang.wu@intel.com> Acked-by: Maxime Ripard <maxime.ripard@bootlin.com> Thanks! Maxime
--- a/drivers/staging/media/sunxi/cedrus/cedrus.c +++ b/drivers/staging/media/sunxi/cedrus/cedrus.c @@ -418,7 +418,6 @@ static struct platform_driver cedrus_dri .remove = cedrus_remove, .driver = { .name = CEDRUS_NAME, - .owner = THIS_MODULE, .of_match_table = of_match_ptr(cedrus_dt_match), }, };