diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-07-19 03:24:14 +0000 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2019-08-03 00:32:34 +0200 |
commit | 1d1def89bd2ed573d5978f39545596ab3f3d2c8b (patch) | |
tree | 38b50c707c5ea731ff5952752eb4222d457a8e58 /drivers/pinctrl/sprd | |
parent | 5d21595b17f693dce313b58f9617a8ea2a45b1b1 (diff) |
pinctrl: sprd: Fix platform_no_drv_owner.cocci warnings
Remove .owner field if calls are used which set it automatically
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20190719032414.85369-1-yuehaibing@huawei.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/sprd')
-rw-r--r-- | drivers/pinctrl/sprd/pinctrl-sprd-sc9860.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pinctrl/sprd/pinctrl-sprd-sc9860.c b/drivers/pinctrl/sprd/pinctrl-sprd-sc9860.c index 3b65aeab7244..06c8671b40e7 100644 --- a/drivers/pinctrl/sprd/pinctrl-sprd-sc9860.c +++ b/drivers/pinctrl/sprd/pinctrl-sprd-sc9860.c @@ -940,7 +940,6 @@ MODULE_DEVICE_TABLE(of, sprd_pinctrl_of_match); static struct platform_driver sprd_pinctrl_driver = { .driver = { .name = "sprd-pinctrl", - .owner = THIS_MODULE, .of_match_table = sprd_pinctrl_of_match, }, .probe = sprd_pinctrl_probe, |