diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2015-07-10 09:23:17 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2015-08-10 09:37:35 +0300 |
commit | 141124e6e0db645396321aabed01c5e0b12cccc1 (patch) | |
tree | e73df0e5ae080405bf5b98587da8108ffc4c6423 /drivers/misc/eeprom | |
parent | 069d5b745b2a98ebc8c239fe0b7bdb6c5ff0f475 (diff) | |
download | linux-141124e6e0db645396321aabed01c5e0b12cccc1.tar.xz |
misc: Drop owner assignment from 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: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/misc/eeprom')
-rw-r--r-- | drivers/misc/eeprom/at24.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/misc/eeprom/at24.c b/drivers/misc/eeprom/at24.c index 6ded3dc36644..2b254f3a1154 100644 --- a/drivers/misc/eeprom/at24.c +++ b/drivers/misc/eeprom/at24.c @@ -686,7 +686,6 @@ static int at24_remove(struct i2c_client *client) static struct i2c_driver at24_driver = { .driver = { .name = "at24", - .owner = THIS_MODULE, }, .probe = at24_probe, .remove = at24_remove, |