From 27a3ba538b831ef61e3fda3951ff30158d4ce934 Mon Sep 17 00:00:00 2001 From: Fabio Estevam Date: Fri, 16 Mar 2018 19:47:01 -0300 Subject: [PATCH] pinctrl: msm8998: Remove owner assignment from platform_driver platform_driver does not need to set the owner field, as this will be populated by the driver core. Generated by scripts/coccinelle/api/platform_no_drv_owner.cocci. Signed-off-by: Fabio Estevam Signed-off-by: Linus Walleij --- drivers/pinctrl/qcom/pinctrl-msm8998.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/pinctrl/qcom/pinctrl-msm8998.c b/drivers/pinctrl/qcom/pinctrl-msm8998.c index c33953183013..00d7b94bc3f1 100644 --- a/drivers/pinctrl/qcom/pinctrl-msm8998.c +++ b/drivers/pinctrl/qcom/pinctrl-msm8998.c @@ -1566,7 +1566,6 @@ static const struct of_device_id msm8998_pinctrl_of_match[] = { static struct platform_driver msm8998_pinctrl_driver = { .driver = { .name = "msm8998-pinctrl", - .owner = THIS_MODULE, .of_match_table = msm8998_pinctrl_of_match, }, .probe = msm8998_pinctrl_probe,