projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29b4817
)
regulator: rk808: Delete owner assignment
author
Markus Elfring
<elfring@users.sourceforge.net>
Mon, 15 Aug 2016 08:30:31 +0000
(10:30 +0200)
committer
Mark Brown
<broonie@kernel.org>
Mon, 15 Aug 2016 12:46:55 +0000
(13:46 +0100)
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@users.sourceforge.net>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/rk808-regulator.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/rk808-regulator.c
b/drivers/regulator/rk808-regulator.c
index 40d07ba036e7dd38e9983588cada783cad8cad01..a6767494d39b192fd4e2915455249712a63c8bc4 100644
(file)
--- 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"
},
};