summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2015-07-10 09:29:45 +0300
committerMatthias Brugger <matthias.bgg@gmail.com>2015-07-10 17:38:44 +0300
commit3fd4079fe295b91cd1f4330e3c8f1e6e4618a27d (patch)
tree1e2ae356197cb418cfab4d1bc9d71c5939f1cff1 /drivers
parentc84e358718a66f76ac0de1681d15d8d0c68fcdab (diff)
downloadlinux-3fd4079fe295b91cd1f4330e3c8f1e6e4618a27d.tar.xz
soc: mediatek: Drop owner assignment from platform_driver
platform_driver does not need to set an owner because platform_driver_register() will set it. Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Acked-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/soc/mediatek/mtk-pmic-wrap.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/soc/mediatek/mtk-pmic-wrap.c b/drivers/soc/mediatek/mtk-pmic-wrap.c
index f432291feee9..8bc7b41b09fd 100644
--- a/drivers/soc/mediatek/mtk-pmic-wrap.c
+++ b/drivers/soc/mediatek/mtk-pmic-wrap.c
@@ -926,7 +926,6 @@ err_out1:
static struct platform_driver pwrap_drv = {
.driver = {
.name = "mt-pmic-pwrap",
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(of_pwrap_match_tbl),
},
.probe = pwrap_probe,