[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <fa3477ed-4cca-dd5b-9306-3aee88b73495@users.sourceforge.net>
Date: Mon, 15 Aug 2016 10:40:29 +0200
From: SF Markus Elfring <elfring@...rs.sourceforge.net>
To: Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>
Cc: LKML <linux-kernel@...r.kernel.org>,
kernel-janitors@...r.kernel.org,
Julia Lawall <julia.lawall@...6.fr>
Subject: [PATCH] regulator-rk808: Delete owner assignment
From: Markus Elfring <elfring@...rs.sourceforge.net>
Date: Mon, 15 Aug 2016 10:30:31 +0200
The field "owner" is set by core. Thus delete an extra initialisation.
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
Signed-off-by: Markus Elfring <elfring@...rs.sourceforge.net>
---
drivers/regulator/rk808-regulator.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/regulator/rk808-regulator.c b/drivers/regulator/rk808-regulator.c
index 40d07ba..a676749 100644
--- a/drivers/regulator/rk808-regulator.c
+++ b/drivers/regulator/rk808-regulator.c
@@ -533,8 +533,7 @@ static int rk808_regulator_probe(struct platform_device *pdev)
static struct platform_driver rk808_regulator_driver = {
.probe = rk808_regulator_probe,
.driver = {
- .name = "rk808-regulator",
- .owner = THIS_MODULE,
+ .name = "rk808-regulator"
},
};
--
2.9.2
Powered by blists - more mailing lists