diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2015-07-10 06:29:45 (GMT) |
---|---|---|
committer | Matthias Brugger <matthias.bgg@gmail.com> | 2015-07-10 14:38:44 (GMT) |
commit | 3fd4079fe295b91cd1f4330e3c8f1e6e4618a27d (patch) | |
tree | 1e2ae356197cb418cfab4d1bc9d71c5939f1cff1 | |
parent | c84e358718a66f76ac0de1681d15d8d0c68fcdab (diff) | |
download | linux-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>
-rw-r--r-- | drivers/soc/mediatek/mtk-pmic-wrap.c | 1 |
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 f432291..8bc7b41 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, |