summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-npcm-pspi.c
diff options
context:
space:
mode:
authorkbuild test robot <fengguang.wu@intel.com>2018-11-15 15:11:13 +0800
committerMark Brown <broonie@kernel.org>2018-11-15 11:19:17 -0800
commit7986e2273c1ed987ff34f1c318d5a2b18e8c0fee (patch)
tree6ab2b9aa1ffe9364658f3a5d74d39698cbd68f38 /drivers/spi/spi-npcm-pspi.c
parent22bf6cd2ca4df283812a521d3cb534993072cd44 (diff)
downloadblackbird-op-linux-7986e2273c1ed987ff34f1c318d5a2b18e8c0fee.tar.gz
blackbird-op-linux-7986e2273c1ed987ff34f1c318d5a2b18e8c0fee.zip
spi: npcm: fix platform_no_drv_owner.cocci warnings
drivers/spi/spi-npcm-pspi.c:470: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: 2a22f1b30cee ("spi: npcm: add NPCM PSPI controller driver") CC: Tomer Maimon <tmaimon77@gmail.com> Signed-off-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-npcm-pspi.c')
-rw-r--r--drivers/spi/spi-npcm-pspi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/spi/spi-npcm-pspi.c b/drivers/spi/spi-npcm-pspi.c
index 6dae91091143..342178e282bc 100644
--- a/drivers/spi/spi-npcm-pspi.c
+++ b/drivers/spi/spi-npcm-pspi.c
@@ -467,7 +467,6 @@ static struct platform_driver npcm_pspi_driver = {
.driver = {
.name = DRIVER_NAME,
.of_match_table = npcm_pspi_match,
- .owner = THIS_MODULE,
},
.probe = npcm_pspi_probe,
.remove = npcm_pspi_remove,
OpenPOWER on IntegriCloud