diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2015-07-10 08:51:32 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2015-08-09 23:44:26 +0300 |
commit | d4068a59277d0ad5374f71163d45599d589bd617 (patch) | |
tree | efea16dcec3a619bfa88e4892b8dea431a999921 /drivers | |
parent | d8363bb5ad4ff3986c03c6895cc74e2a30041aee (diff) | |
download | linux-d4068a59277d0ad5374f71163d45599d589bd617.tar.xz |
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 <k.kozlowski@samsung.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/hwmon/g762.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/hwmon/g762.c b/drivers/hwmon/g762.c index 85d106fe3ce8..b96a2a9e4df7 100644 --- 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, |