From 7986e2273c1ed987ff34f1c318d5a2b18e8c0fee Mon Sep 17 00:00:00 2001 From: kbuild test robot Date: Thu, 15 Nov 2018 15:11:13 +0800 Subject: 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(-) (limited to 'drivers/spi/spi-npcm-pspi.c') 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, -- cgit v1.2.1