summaryrefslogtreecommitdiff
path: root/drivers/spi
diff options
context:
space:
mode:
authorWu Fengguang <fengguang.wu@intel.com>2017-10-14 05:10:40 +0800
committerMark Brown <broonie@kernel.org>2017-10-13 22:15:50 +0100
commit8955b26d227263a0938daae77f981da927e19513 (patch)
treeb62d6270978a60d90d4bdba8807265674dd2a513 /drivers/spi
parente83f374247c310bc558c8626fbfcc03f22f9bf02 (diff)
spi: sprd-adi: fix platform_no_drv_owner.cocci warnings
drivers/spi/spi-sprd-adi.c:409: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: 7e2903cb91df ("spi: Add ADI driver for Spreadtrum platform") Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/spi-sprd-adi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/spi/spi-sprd-adi.c b/drivers/spi/spi-sprd-adi.c
index 1324463244d3..6a5ff3003044 100644
--- a/drivers/spi/spi-sprd-adi.c
+++ b/drivers/spi/spi-sprd-adi.c
@@ -406,7 +406,6 @@ MODULE_DEVICE_TABLE(of, sprd_adi_of_match);
static struct platform_driver sprd_adi_driver = {
.driver = {
.name = "sprd-adi",
- .owner = THIS_MODULE,
.of_match_table = sprd_adi_of_match,
},
.probe = sprd_adi_probe,