diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2017-02-07 09:30:03 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-02-09 11:35:26 -0500 |
commit | d9928b4c48a804cf4e4f5695855282bddf7e2c3b (patch) | |
tree | 454e1de9a54067207802ff1b9d533b3b4d9eb60d | |
parent | 85798e153e6c3834ab2d69ee9d4db7d85f13809d (diff) |
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
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | drivers/spi/spi-armada-3700.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/spi/spi-armada-3700.c b/drivers/spi/spi-armada-3700.c index 0baa69325e78..3155ab7ad970 100644 --- a/drivers/spi/spi-armada-3700.c +++ b/drivers/spi/spi-armada-3700.c | |||
@@ -909,7 +909,6 @@ static int a3700_spi_remove(struct platform_device *pdev) | |||
909 | static struct platform_driver a3700_spi_driver = { | 909 | static struct platform_driver a3700_spi_driver = { |
910 | .driver = { | 910 | .driver = { |
911 | .name = DRIVER_NAME, | 911 | .name = DRIVER_NAME, |
912 | .owner = THIS_MODULE, | ||
913 | .of_match_table = of_match_ptr(a3700_spi_dt_ids), | 912 | .of_match_table = of_match_ptr(a3700_spi_dt_ids), |
914 | }, | 913 | }, |
915 | .probe = a3700_spi_probe, | 914 | .probe = a3700_spi_probe, |