projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d5aee4
)
hwmon: (scpi) Delete unnecessary assignment for the field "owner"
author
Markus Elfring
<elfring@users.sourceforge.net>
Tue, 16 Aug 2016 13:17:13 +0000
(15:17 +0200)
committer
Guenter Roeck
<linux@roeck-us.net>
Fri, 9 Sep 2016 04:34:16 +0000
(21:34 -0700)
The field "owner" is set by the core.
Thus delete an unneeded initialisation.
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Acked-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/scpi-hwmon.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/hwmon/scpi-hwmon.c
b/drivers/hwmon/scpi-hwmon.c
index 25b44e68926d1f9464345f5f17efecc365e129ce..559a3dcd64d8d67a9e53a0469e2f369df0e4099c 100644
(file)
--- a/
drivers/hwmon/scpi-hwmon.c
+++ b/
drivers/hwmon/scpi-hwmon.c
@@
-255,7
+255,6
@@
static const struct of_device_id scpi_of_match[] = {
static struct platform_driver scpi_hwmon_platdrv = {
.driver = {
.name = "scpi-hwmon",
- .owner = THIS_MODULE,
.of_match_table = scpi_of_match,
},
.probe = scpi_hwmon_probe,