scsi: ufs: Fix platform_no_drv_owner.cocci warnings
authorYueHaibing <yuehaibing@huawei.com>
Tue, 13 Nov 2018 01:26:17 +0000 (01:26 +0000)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 13 Dec 2018 02:37:56 +0000 (21:37 -0500)
Remove .owner field if calls are used which set it automatically
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/cdns-pltfrm.c

index 8bcf863e1576e20ec5abc6683388b61b071cbef9..4a37b4f5716403d1394fee1c5139c88b7b20a167 100644 (file)
@@ -135,7 +135,6 @@ static struct platform_driver cdns_ufs_pltfrm_driver = {
        .remove = cdns_ufs_pltfrm_remove,
        .driver = {
                .name   = "cdns-ufshcd",
-               .owner  = THIS_MODULE,
                .pm     = &cdns_ufs_dev_pm_ops,
                .of_match_table = cdns_ufs_of_match,
        },