diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2015-07-10 09:39:50 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2015-09-05 14:19:06 +0300 |
commit | b28845433eb9c205c381ed69b09167d6ae5aac1c (patch) | |
tree | 6b80d0f4122f3748a9f1b3d80f6c1987cdbb6a99 /drivers/rtc/rtc-ds3232.c | |
parent | 653ebd75e9e469e99a40ab14128d915386dc78c6 (diff) | |
download | linux-b28845433eb9c205c381ed69b09167d6ae5aac1c.tar.xz |
rtc: 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: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'drivers/rtc/rtc-ds3232.c')
-rw-r--r-- | drivers/rtc/rtc-ds3232.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-ds3232.c b/drivers/rtc/rtc-ds3232.c index 7e48e532214f..18f062f2a634 100644 --- a/drivers/rtc/rtc-ds3232.c +++ b/drivers/rtc/rtc-ds3232.c @@ -500,7 +500,6 @@ MODULE_DEVICE_TABLE(i2c, ds3232_id); static struct i2c_driver ds3232_driver = { .driver = { .name = "rtc-ds3232", - .owner = THIS_MODULE, .pm = &ds3232_pm_ops, }, .probe = ds3232_probe, |