Commit dccdd92b authored by jing yangyang's avatar jing yangyang Committed by Mauro Carvalho Chehab
Browse files

media: meson-ir-tx: fix platform_no_drv_owner.cocci warnings



./drivers/media/rc/meson-ir-tx.c:398: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

Reported-by: default avatarZeal Robot <zealci@zte.com.cn>
Signed-off-by: default avatarjing yangyang <jing.yangyang@zte.com.cn>
Signed-off-by: default avatarSean Young <sean@mess.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 92f46151
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -395,7 +395,6 @@ static struct platform_driver meson_irtx_pd = {
	.remove = meson_irtx_remove,
	.driver = {
		.name = DRIVER_NAME,
		.owner  = THIS_MODULE,
		.of_match_table = meson_irtx_dt_match,
	},
};