staging: bcm2708_vchiq: remove .owner field for driver
authorWei Yongjun <weiyongjun1@huawei.com>
Mon, 17 Oct 2016 15:08:14 +0000 (15:08 +0000)
committerJaechul Lee <jcsing.lee@samsung.com>
Fri, 18 Aug 2017 01:04:46 +0000 (10:04 +0900)
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c

index bb50569ffdb97383eeea09b630598d5a73e6f7ef..e5ab55a9b3994ee30613f16dd1a10be48b173e14 100644 (file)
@@ -2894,7 +2894,6 @@ MODULE_DEVICE_TABLE(of, vchiq_of_match);
 static struct platform_driver vchiq_driver = {
        .driver = {
                .name = "bcm2835_vchiq",
-               .owner = THIS_MODULE,
                .of_match_table = vchiq_of_match,
        },
        .probe = vchiq_probe,