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>
Этот коммит содержится в:
Peter Griffin
2014-08-15 13:40:14 +01:00
коммит произвёл Kishon Vijay Abraham I
родитель a5ec598650
Коммит 4f0eb5d7ef
18 изменённых файлов: 0 добавлений и 18 удалений

Просмотреть файл

@@ -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);