Skip to content

Commit

Permalink
spi: armada-3700: Remove .owner field for driver
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Wei Yongjun authored and Mark Brown committed Feb 9, 2017
1 parent 85798e1 commit d9928b4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/spi/spi-armada-3700.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit d9928b4

Please sign in to comment.