From 4f0eb5d7efe375859b15c97f453113a242bf057b Mon Sep 17 00:00:00 2001 From: Peter Griffin Date: Fri, 15 Aug 2014 13:40:14 +0100 Subject: phy: remove .owner field for drivers using module_platform_driver This patch removes the superflous .owner field for drivers which use the module_platform_driver or platform_driver_register api, as this is overriden in __platform_driver_register. Signed-off-by: Peter Griffin Signed-off-by: Kishon Vijay Abraham I --- drivers/phy/phy-miphy365x.c | 1 - 1 file changed, 1 deletion(-) (limited to 'drivers/phy/phy-miphy365x.c') diff --git a/drivers/phy/phy-miphy365x.c b/drivers/phy/phy-miphy365x.c index e0fb7a1..801afaf 100644 --- a/drivers/phy/phy-miphy365x.c +++ b/drivers/phy/phy-miphy365x.c @@ -626,7 +626,6 @@ static struct platform_driver miphy365x_driver = { .probe = miphy365x_probe, .driver = { .name = "miphy365x-phy", - .owner = THIS_MODULE, .of_match_table = miphy365x_of_match, } }; -- cgit v1.1