提交 3fd4079f 编写于 作者: K Krzysztof Kozlowski 提交者: Matthias Brugger

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: NKrzysztof Kozlowski <k.kozlowski@samsung.com>
Acked-by: NSascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: NMatthias Brugger <matthias.bgg@gmail.com>
上级 c84e3587
......@@ -926,7 +926,6 @@ static int pwrap_probe(struct platform_device *pdev)
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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册