Skip to contentSkip to conversation

spi: armada-3700: Remove .owner field for driver

PATCH In review Wei Yongjun 2 participants 2 messages Feb 7, 2017 – Feb 9, 2017 1 message not in the archive SPI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 spi: armada-3700: Remove .owner field for driver

From: Wei Yongjun <[email protected]>

Remove .owner field if calls are used which set it automatically.

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci

---
 drivers/spi/spi-armada-3700.c | 1 -
 1 file changed, 1 deletion(-)
drivers/spi/spi-armada-3700.c +0 -1
index e598421..d45eeb2 100644
@@ -909,7 +909,6 @@ static int a3700_spi_remove(struct platform_device *pdev)
 static struct platform_driver a3700_spi_driver = {
 	.driver = {
 		.name	= DRIVER_NAME,
-		.owner	= THIS_MODULE,
 		.of_match_table = of_match_ptr(a3700_spi_dt_ids),
 	},
 	.probe		= a3700_spi_probe,

--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 20170207143003.17877-1-weiyj.lk-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org

#2 lore raw

Applied "spi: armada-3700: Remove .owner field for driver" to the spi tree

The patch

spi: armada-3700: Remove .owner field for driver

has been applied to the spi tree at

git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git

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.

Thanks,
Mark

Quoted 1 line

From d9928b4c48a804cf4e4f5695855282bddf7e2c3b Mon Sep 17 00:00:00 2001

From: Wei Yongjun <[email protected]>
Date: Tue, 7 Feb 2017 14:30:03 +0000
Subject: [PATCH] spi: armada-3700: Remove .owner field for driver

Remove .owner field if calls are used which set it automatically.

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci

---
 drivers/spi/spi-armada-3700.c | 1 -
 1 file changed, 1 deletion(-)
drivers/spi/spi-armada-3700.c +0 -1
index 0baa69325e78..3155ab7ad970 100644
@@ -909,7 +909,6 @@ static int a3700_spi_remove(struct platform_device *pdev)
 static struct platform_driver a3700_spi_driver = {
 	.driver = {
 		.name	= DRIVER_NAME,
-		.owner	= THIS_MODULE,
 		.of_match_table = of_match_ptr(a3700_spi_dt_ids),
 	},
 	.probe		= a3700_spi_probe,
Signature · 6 lines
2.11.0

--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html