summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:24 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-10-20 16:21:24 +0200
commit2604b832b577115122d0da9ccd6dd3baef1136e6 (patch)
treeb01193397042c16266ba0c61ad1f98a6a308c98f /drivers
parentbdac6d4a08a4d93b9de6beabf653b8b45300e8ce (diff)
downloadlinux-next-2604b832b577115122d0da9ccd6dd3baef1136e6.tar.gz
pinctrl: samsung: drop owner assignment from platform_drivers
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/pinctrl/samsung/pinctrl-exynos5440.c1
-rw-r--r--drivers/pinctrl/samsung/pinctrl-samsung.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/pinctrl/samsung/pinctrl-exynos5440.c b/drivers/pinctrl/samsung/pinctrl-exynos5440.c
index 88acfc0efd54..86192be3b679 100644
--- a/drivers/pinctrl/samsung/pinctrl-exynos5440.c
+++ b/drivers/pinctrl/samsung/pinctrl-exynos5440.c
@@ -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,
},
};
diff --git a/drivers/pinctrl/samsung/pinctrl-samsung.c b/drivers/pinctrl/samsung/pinctrl-samsung.c
index 2d37c8f49f3c..2fd05e2c2ce6 100644
--- a/drivers/pinctrl/samsung/pinctrl-samsung.c
+++ b/drivers/pinctrl/samsung/pinctrl-samsung.c
@@ -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,
},
};