phy: qualcomm: fix platform_no_drv_owner.cocci warnings
authorYueHaibing <yuehaibing@huawei.com>
Sat, 25 Jul 2020 03:16:24 +0000 (03:16 +0000)
committerVinod Koul <vkoul@kernel.org>
Mon, 17 Aug 2020 04:07:11 +0000 (09:37 +0530)
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>
Link: https://lore.kernel.org/r/20200725031624.31432-1-yuehaibing@huawei.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/qualcomm/phy-qcom-ipq806x-usb.c

index 71f257b..6707efd 100644 (file)
@@ -557,7 +557,6 @@ static struct platform_driver qcom_ipq806x_usb_phy_driver = {
        .probe          = qcom_ipq806x_usb_phy_probe,
        .driver         = {
                .name   = "qcom-ipq806x-usb-phy",
-               .owner  = THIS_MODULE,
                .of_match_table = qcom_ipq806x_usb_phy_table,
        },
 };