staging: bcm2708_vchiq: remove .owner field for driver
authorWei Yongjun <weiyongjun1@huawei.com>
Mon, 17 Oct 2016 15:08:14 +0000 (15:08 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Oct 2016 07:57:23 +0000 (09:57 +0200)
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 5ec7c96..ed388c4 100644 (file)
@@ -2884,7 +2884,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,