mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
hwmon: (g762) Drop owner assignment from struct i2c_driver
i2c_driver does not need to set an owner because i2c_register_driver() will set it. Signed-off-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Guenter Roeck <[email protected]>
This commit is contained in:
parent
d8363bb5ad
commit
d4068a5927
1 changed files with 0 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue