summaryrefslogtreecommitdiff
path: root/drivers/misc/eeprom/at24.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2015-07-10 09:23:17 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-07-27 20:30:48 +0300
commit14e51e599db0b5bd7d2fc11f144b68c38aa9d0c9 (patch)
tree422111bb36412a82af3b1efa1a1b4a93cd106dec /drivers/misc/eeprom/at24.c
parent1037b2787b6df12f31b7051f7cdbb289f7972ee7 (diff)
downloadlinux-14e51e599db0b5bd7d2fc11f144b68c38aa9d0c9.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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/eeprom/at24.c')
-rw-r--r--drivers/misc/eeprom/at24.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/misc/eeprom/at24.c b/drivers/misc/eeprom/at24.c
index 2d3db81be099..8c157229ac82 100644
--- a/drivers/misc/eeprom/at24.c
+++ b/drivers/misc/eeprom/at24.c
@@ -689,7 +689,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,