aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/rtc/rtc-pcf8563.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2015-07-10 15:39:50 +0900
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2015-09-05 13:19:06 +0200
commitb28845433eb9c205c381ed69b09167d6ae5aac1c (patch)
tree6b80d0f4122f3748a9f1b3d80f6c1987cdbb6a99 /drivers/rtc/rtc-pcf8563.c
parentrtc: pcf2127: use OFS flag to detect unreliable date and warn the user (diff)
downloadwireguard-linux-b28845433eb9c205c381ed69b09167d6ae5aac1c.tar.xz
wireguard-linux-b28845433eb9c205c381ed69b09167d6ae5aac1c.zip
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-pcf8563.c')
-rw-r--r--drivers/rtc/rtc-pcf8563.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-pcf8563.c b/drivers/rtc/rtc-pcf8563.c
index 8bba022be946..e569243db57e 100644
--- a/drivers/rtc/rtc-pcf8563.c
+++ b/drivers/rtc/rtc-pcf8563.c
@@ -483,7 +483,6 @@ MODULE_DEVICE_TABLE(of, pcf8563_of_match);
static struct i2c_driver pcf8563_driver = {
.driver = {
.name = "rtc-pcf8563",
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(pcf8563_of_match),
},
.probe = pcf8563_probe,