All of lore.kernel.org
 help / color / mirror / Atom feed
From: YueHaibing <yuehaibing@huawei.com>
To: Liam Girdwood <lgirdwood@gmail.com>,
	Robert Marko <robert.marko@sartura.hr>,
	Axel Lin <axel.lin@ingics.com>, Mark Brown <broonie@kernel.org>
Cc: YueHaibing <yuehaibing@huawei.com>,
	<linux-kernel@vger.kernel.org>, <kernel-janitors@vger.kernel.org>
Subject: [PATCH -next] regulator: vqmmc-ipq4019: Fix platform_no_drv_owner.cocci warnings
Date: Thu, 16 Jan 2020 02:33:44 +0000	[thread overview]
Message-ID: <20200116023344.163592-1-yuehaibing@huawei.com> (raw)

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>
---
 drivers/regulator/vqmmc-ipq4019-regulator.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/regulator/vqmmc-ipq4019-regulator.c b/drivers/regulator/vqmmc-ipq4019-regulator.c
index 685b585b39a1..6d5ae25d08d1 100644
--- a/drivers/regulator/vqmmc-ipq4019-regulator.c
+++ b/drivers/regulator/vqmmc-ipq4019-regulator.c
@@ -91,7 +91,6 @@ static struct platform_driver ipq4019_regulator_driver = {
 	.probe = ipq4019_regulator_probe,
 	.driver = {
 		.name = "vqmmc-ipq4019-regulator",
-		.owner = THIS_MODULE,
 		.of_match_table = of_match_ptr(regulator_ipq4019_of_match),
 	},
 };




WARNING: multiple messages have this Message-ID (diff)
From: YueHaibing <yuehaibing@huawei.com>
To: Liam Girdwood <lgirdwood@gmail.com>,
	Robert Marko <robert.marko@sartura.hr>,
	Axel Lin <axel.lin@ingics.com>, Mark Brown <broonie@kernel.org>
Cc: YueHaibing <yuehaibing@huawei.com>,
	linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org
Subject: [PATCH -next] regulator: vqmmc-ipq4019: Fix platform_no_drv_owner.cocci warnings
Date: Thu, 16 Jan 2020 02:33:44 +0000	[thread overview]
Message-ID: <20200116023344.163592-1-yuehaibing@huawei.com> (raw)

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>
---
 drivers/regulator/vqmmc-ipq4019-regulator.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/regulator/vqmmc-ipq4019-regulator.c b/drivers/regulator/vqmmc-ipq4019-regulator.c
index 685b585b39a1..6d5ae25d08d1 100644
--- a/drivers/regulator/vqmmc-ipq4019-regulator.c
+++ b/drivers/regulator/vqmmc-ipq4019-regulator.c
@@ -91,7 +91,6 @@ static struct platform_driver ipq4019_regulator_driver = {
 	.probe = ipq4019_regulator_probe,
 	.driver = {
 		.name = "vqmmc-ipq4019-regulator",
-		.owner = THIS_MODULE,
 		.of_match_table = of_match_ptr(regulator_ipq4019_of_match),
 	},
 };

             reply	other threads:[~2020-01-16  2:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-16  2:33 YueHaibing [this message]
2020-01-16  2:33 ` [PATCH -next] regulator: vqmmc-ipq4019: Fix platform_no_drv_owner.cocci warnings YueHaibing
2020-01-17 15:44 ` Applied "regulator: vqmmc-ipq4019: Fix platform_no_drv_owner.cocci warnings" to the regulator tree Mark Brown
2020-01-17 15:44   ` Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200116023344.163592-1-yuehaibing@huawei.com \
    --to=yuehaibing@huawei.com \
    --cc=axel.lin@ingics.com \
    --cc=broonie@kernel.org \
    --cc=kernel-janitors@vger.kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robert.marko@sartura.hr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.