Applied "spi: npcm: fix platform_no_drv_owner.cocci warnings" to the spi tree
diff mbox series

Message ID
State New, archived
Headers show
  • Applied "spi: npcm: fix platform_no_drv_owner.cocci warnings" to the spi tree
Related show

Commit Message

Mark Brown Nov. 15, 2018, 7:48 p.m. UTC
The patch

   spi: npcm: fix platform_no_drv_owner.cocci warnings

has been applied to the spi tree at 

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.


From 7986e2273c1ed987ff34f1c318d5a2b18e8c0fee Mon Sep 17 00:00:00 2001
From: kbuild test robot <>
Date: Thu, 15 Nov 2018 15:11:13 +0800
Subject: [PATCH] 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 <>
Signed-off-by: kbuild test robot <>
Signed-off-by: Mark Brown <>
 drivers/spi/spi-npcm-pspi.c | 1 -
 1 file changed, 1 deletion(-)

diff mbox series

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,