]> git.karo-electronics.de Git - linux-beck.git/commitdiff
pinctrl: samsung: drop owner assignment from platform_drivers
authorWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:24 +0000 (16:21 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 20 Oct 2014 14:21:24 +0000 (16:21 +0200)
A platform_driver does not need to set an owner, it will be populated by the
driver core.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/pinctrl/samsung/pinctrl-exynos5440.c
drivers/pinctrl/samsung/pinctrl-samsung.c

index 88acfc0efd543085f033e7218dd0a5f77290d044..86192be3b67970392aeb2ab37775c664060ea9d3 100644 (file)
@@ -1036,7 +1036,6 @@ static struct platform_driver exynos5440_pinctrl_driver = {
        .probe          = exynos5440_pinctrl_probe,
        .driver = {
                .name   = "exynos5440-pinctrl",
-               .owner  = THIS_MODULE,
                .of_match_table = exynos5440_pinctrl_dt_match,
        },
 };
index 2d37c8f49f3c95ed11a42abce1f52ea5124b9c11..2fd05e2c2ce6bd36090ce9304a5fcb9b5db193df 100644 (file)
@@ -1249,7 +1249,6 @@ static struct platform_driver samsung_pinctrl_driver = {
        .probe          = samsung_pinctrl_probe,
        .driver = {
                .name   = "samsung-pinctrl",
-               .owner  = THIS_MODULE,
                .of_match_table = samsung_pinctrl_dt_match,
        },
 };