Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1335888 > unrolled thread

[PATCH] pinctrl: mediatek: fix platform_no_drv_owner.cocci warnings

Started bykbuild test robot <fengguang.wu@intel.com>
First post2016-02-16 23:10 +0100
Last post2016-02-19 00:30 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH] pinctrl: mediatek: fix platform_no_drv_owner.cocci warnings kbuild test robot <fengguang.wu@intel.com> - 2016-02-16 23:10 +0100
    Re: [PATCH] pinctrl: mediatek: fix platform_no_drv_owner.cocci warnings Linus Walleij <linus.walleij@linaro.org> - 2016-02-19 00:30 +0100

#1335888 — [PATCH] pinctrl: mediatek: fix platform_no_drv_owner.cocci warnings

Fromkbuild test robot <fengguang.wu@intel.com>
Date2016-02-16 23:10 +0100
Subject[PATCH] pinctrl: mediatek: fix platform_no_drv_owner.cocci warnings
Message-ID<r2VYK-5w0-23@gated-at.bofh.it>
drivers/pinctrl/mediatek/pinctrl-mt2701.c:576:3-8: No need to set .owner here. The core will do it.

 Remove .owner field if calls are used which set it automatically

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci

CC: Biao Huang <biao.huang@mediatek.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

 pinctrl-mt2701.c |    1 -
 1 file changed, 1 deletion(-)

--- a/drivers/pinctrl/mediatek/pinctrl-mt2701.c
+++ b/drivers/pinctrl/mediatek/pinctrl-mt2701.c
@@ -573,7 +573,6 @@ static struct platform_driver mtk_pinctr
 	.probe = mt2701_pinctrl_probe,
 	.driver = {
 		.name = "mediatek-mt2701-pinctrl",
-		.owner = THIS_MODULE,
 		.of_match_table = mt2701_pctrl_match,
 		.pm = &mtk_eint_pm_ops,
 	},

[toc] | [next] | [standalone]


#1337778

FromLinus Walleij <linus.walleij@linaro.org>
Date2016-02-19 00:30 +0100
Message-ID<r3Gbg-4vK-7@gated-at.bofh.it>
In reply to#1335888
On Tue, Feb 16, 2016 at 11:06 PM, kbuild test robot
<fengguang.wu@intel.com> wrote:

> drivers/pinctrl/mediatek/pinctrl-mt2701.c:576:3-8: No need to set .owner here. The core will do it.
>
>  Remove .owner field if calls are used which set it automatically
>
> Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
>
> CC: Biao Huang <biao.huang@mediatek.com>
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>

Sorry I already fixed this in-tree, thanks anyway.

Yours,
Linus Walleij

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web