spi: armada-3700: Remove .owner field for driver
authorWei Yongjun <weiyongjun1@huawei.com>
Tue, 7 Feb 2017 14:30:03 +0000 (14:30 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 9 Feb 2017 16:35:26 +0000 (16:35 +0000)
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>
drivers/spi/spi-armada-3700.c

index 0baa69325e78c8df21c1baaaefd9b00e065675ff..3155ab7ad9707dde5a7bb3dc43d9f1b7f155c517 100644 (file)
@@ -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,