]> rtime.felk.cvut.cz Git - zynq/linux.git/commitdiff
net: phy: xilinx_phy: Fix compilation warning in the driver
authorKedareswara rao Appana <appana.durga.rao@xilinx.com>
Mon, 18 Jul 2016 07:23:35 +0000 (12:53 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 27 Jul 2016 12:31:30 +0000 (14:31 +0200)
This commit be01da72b1b8 ("phy: Centralize setting driver module owner")
Centralizes setting driver module owner into the phy core code.

This patch removes the module owner field from the driver as
phy core doing the same.

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/net/phy/xilinx_phy.c

index 36abb51503ec657d8434f3322c507079d3518610..e0b865ed0006e3fb67fe9053204af772307578eb 100644 (file)
@@ -134,7 +134,6 @@ static struct phy_driver xilinx_drivers[] = {
                .read_status = &xilinxphy_read_status,
                .resume = &genphy_resume,
                .suspend = &genphy_suspend,
-               .driver = { .owner = THIS_MODULE },
        },
 };