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 <peter.griffin@linaro.org> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Этот коммит содержится в:

коммит произвёл
Kishon Vijay Abraham I

родитель
a5ec598650
Коммит
4f0eb5d7ef
@@ -325,7 +325,6 @@ static struct platform_driver sun4i_usb_phy_driver = {
|
||||
.driver = {
|
||||
.of_match_table = sun4i_usb_phy_of_match,
|
||||
.name = "sun4i-usb-phy",
|
||||
.owner = THIS_MODULE,
|
||||
}
|
||||
};
|
||||
module_platform_driver(sun4i_usb_phy_driver);
|
||||
|
Ссылка в новой задаче
Block a user