提交 a5b0443c 编写于 作者: K kbuild test robot 提交者: Mark Brown

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: NFengguang Wu <fengguang.wu@intel.com>
Acked-by: NHauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: NMark Brown <broonie@kernel.org>
上级 57f22cd2
...@@ -970,7 +970,6 @@ static struct platform_driver lantiq_ssc_driver = { ...@@ -970,7 +970,6 @@ static struct platform_driver lantiq_ssc_driver = {
.remove = lantiq_ssc_remove, .remove = lantiq_ssc_remove,
.driver = { .driver = {
.name = "spi-lantiq-ssc", .name = "spi-lantiq-ssc",
.owner = THIS_MODULE,
.of_match_table = lantiq_ssc_match, .of_match_table = lantiq_ssc_match,
}, },
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册