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:
d8363bb
)
hwmon: (g762) Drop owner assignment from struct i2c_driver
author
Krzysztof Kozlowski
<k.kozlowski@samsung.com>
Fri, 10 Jul 2015 05:51:32 +0000
(14:51 +0900)
committer
Guenter Roeck
<linux@roeck-us.net>
Sun, 9 Aug 2015 20:44:26 +0000
(13:44 -0700)
i2c_driver does not need to set an owner because i2c_register_driver()
will set it.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/g762.c
patch
|
blob
|
history
diff --git
a/drivers/hwmon/g762.c
b/drivers/hwmon/g762.c
index 85d106fe3ce8628061901b53240e546a884cbea0..b96a2a9e4df7d5af127ad42fa5ee5a00fa840b8e 100644
(file)
--- a/
drivers/hwmon/g762.c
+++ b/
drivers/hwmon/g762.c
@@
-1113,7
+1113,6
@@
static int g762_remove(struct i2c_client *client)
static struct i2c_driver g762_driver = {
.driver = {
.name = DRVNAME,
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(g762_dt_match),
},
.probe = g762_probe,