phy: Drop owner assignment from i2c_driver
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Fri, 10 Jul 2015 05:38:10 +0000 (14:38 +0900)
committerKishon Vijay Abraham I <kishon@ti.com>
Sat, 25 Jul 2015 10:15:48 +0000 (15:45 +0530)
i2c_driver does not need to set an owner because i2c_register_driver()
will set it.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/phy-armada375-usb2.c

index 8ccc3952c13dca6287b04a6b62fe50d1ceb076d6..39c7d21f12da6b1bbc0771a377d1a683361128ce 100644 (file)
@@ -149,7 +149,6 @@ static struct platform_driver armada375_usb_phy_driver = {
        .driver = {
                .of_match_table = of_usb_cluster_table,
                .name  = "armada-375-usb-cluster",
-               .owner = THIS_MODULE,
        }
 };
 module_platform_driver(armada375_usb_phy_driver);