Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a5b0443c authored by kbuild test robot's avatar kbuild test robot Committed by Mark Brown
Browse files

spi: lantiq-ssc: fix platform_no_drv_owner.cocci warnings



drivers/spi/spi-lantiq-ssc.c:973: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: default avatarFengguang Wu <fengguang.wu@intel.com>
Acked-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 57f22cd2
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -970,7 +970,6 @@ static struct platform_driver lantiq_ssc_driver = {
	.remove = lantiq_ssc_remove,
	.driver = {
		.name = "spi-lantiq-ssc",
		.owner = THIS_MODULE,
		.of_match_table = lantiq_ssc_match,
	},
};