summaryrefslogtreecommitdiff
path: root/drivers/spi
diff options
context:
space:
mode:
authorkbuild test robot <fengguang.wu@intel.com>2017-02-19 20:33:10 +0300
committerMark Brown <broonie@kernel.org>2017-02-21 20:49:58 +0300
commita5b0443c9bf42173f0847889d880a45de67e0f8f (patch)
tree2a6c37a22537676385263000399812a3e0cccca4 /drivers/spi
parent57f22cd29cf1b4ff2aea8505eae2d3ed71ca5de4 (diff)
downloadlinux-a5b0443c9bf42173f0847889d880a45de67e0f8f.tar.xz
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: Fengguang Wu <fengguang.wu@intel.com> Acked-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/spi-lantiq-ssc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/spi/spi-lantiq-ssc.c b/drivers/spi/spi-lantiq-ssc.c
index 8a626f7fccea..fe3986fa2f23 100644
--- a/drivers/spi/spi-lantiq-ssc.c
+++ b/drivers/spi/spi-lantiq-ssc.c
@@ -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,
},
};