aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc
diff options
context:
space:
mode:
authorAndrew F. Davis <afd@ti.com>2015-10-23 09:59:11 -0400
committerMark Brown <broonie@kernel.org>2015-10-27 21:30:17 -0400
commit3821a065f5672c430a088ae68b4da2a2d2b34106 (patch)
tree07b51d616ca589f84f5817396c4c2318b6a479a4 /drivers/rtc
parentca5d24854210dd02548a080d4271560e926c4fcb (diff)
spi: Drop owner assignment from spi_drivers
An spi_driver does not need to set an owner, it will be populated by the driver core. Signed-off-by: Andrew F. Davis <afd@ti.com> Acked-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/rtc')
-rw-r--r--drivers/rtc/rtc-ds1305.c1
-rw-r--r--drivers/rtc/rtc-ds1343.c1
-rw-r--r--drivers/rtc/rtc-ds1347.c1
-rw-r--r--drivers/rtc/rtc-ds1390.c1
-rw-r--r--drivers/rtc/rtc-ds3234.c1
-rw-r--r--drivers/rtc/rtc-m41t93.c1
-rw-r--r--drivers/rtc/rtc-m41t94.c1
-rw-r--r--drivers/rtc/rtc-max6902.c1
-rw-r--r--drivers/rtc/rtc-mcp795.c1
-rw-r--r--drivers/rtc/rtc-pcf2123.c1
-rw-r--r--drivers/rtc/rtc-r9701.c1
-rw-r--r--drivers/rtc/rtc-rs5c348.c1
-rw-r--r--drivers/rtc/rtc-rx4581.c1
13 files changed, 0 insertions, 13 deletions
diff --git a/drivers/rtc/rtc-ds1305.c b/drivers/rtc/rtc-ds1305.c
index baa5d047f9c8..85706a9f82c9 100644
--- a/drivers/rtc/rtc-ds1305.c
+++ b/drivers/rtc/rtc-ds1305.c
@@ -772,7 +772,6 @@ static int ds1305_remove(struct spi_device *spi)
772 772
773static struct spi_driver ds1305_driver = { 773static struct spi_driver ds1305_driver = {
774 .driver.name = "rtc-ds1305", 774 .driver.name = "rtc-ds1305",
775 .driver.owner = THIS_MODULE,
776 .probe = ds1305_probe, 775 .probe = ds1305_probe,
777 .remove = ds1305_remove, 776 .remove = ds1305_remove,
778 /* REVISIT add suspend/resume */ 777 /* REVISIT add suspend/resume */
diff --git a/drivers/rtc/rtc-ds1343.c b/drivers/rtc/rtc-ds1343.c
index 79a06dd3c185..07371a9e3793 100644
--- a/drivers/rtc/rtc-ds1343.c
+++ b/drivers/rtc/rtc-ds1343.c
@@ -731,7 +731,6 @@ static SIMPLE_DEV_PM_OPS(ds1343_pm, ds1343_suspend, ds1343_resume);
731static struct spi_driver ds1343_driver = { 731static struct spi_driver ds1343_driver = {
732 .driver = { 732 .driver = {
733 .name = "ds1343", 733 .name = "ds1343",
734 .owner = THIS_MODULE,
735 .pm = &ds1343_pm, 734 .pm = &ds1343_pm,
736 }, 735 },
737 .probe = ds1343_probe, 736 .probe = ds1343_probe,
diff --git a/drivers/rtc/rtc-ds1347.c b/drivers/rtc/rtc-ds1347.c
index c82b4c050326..641e8e8a0dd7 100644
--- a/drivers/rtc/rtc-ds1347.c
+++ b/drivers/rtc/rtc-ds1347.c
@@ -154,7 +154,6 @@ static int ds1347_probe(struct spi_device *spi)
154static struct spi_driver ds1347_driver = { 154static struct spi_driver ds1347_driver = {
155 .driver = { 155 .driver = {
156 .name = "ds1347", 156 .name = "ds1347",
157 .owner = THIS_MODULE,
158 }, 157 },
159 .probe = ds1347_probe, 158 .probe = ds1347_probe,
160}; 159};
diff --git a/drivers/rtc/rtc-ds1390.c b/drivers/rtc/rtc-ds1390.c
index e67bfcb3a1aa..4c229c97ef97 100644
--- a/drivers/rtc/rtc-ds1390.c
+++ b/drivers/rtc/rtc-ds1390.c
@@ -156,7 +156,6 @@ static int ds1390_probe(struct spi_device *spi)
156static struct spi_driver ds1390_driver = { 156static struct spi_driver ds1390_driver = {
157 .driver = { 157 .driver = {
158 .name = "rtc-ds1390", 158 .name = "rtc-ds1390",
159 .owner = THIS_MODULE,
160 }, 159 },
161 .probe = ds1390_probe, 160 .probe = ds1390_probe,
162}; 161};
diff --git a/drivers/rtc/rtc-ds3234.c b/drivers/rtc/rtc-ds3234.c
index 4c9ba5368464..570ab28fc354 100644
--- a/drivers/rtc/rtc-ds3234.c
+++ b/drivers/rtc/rtc-ds3234.c
@@ -159,7 +159,6 @@ static int ds3234_probe(struct spi_device *spi)
159static struct spi_driver ds3234_driver = { 159static struct spi_driver ds3234_driver = {
160 .driver = { 160 .driver = {
161 .name = "ds3234", 161 .name = "ds3234",
162 .owner = THIS_MODULE,
163 }, 162 },
164 .probe = ds3234_probe, 163 .probe = ds3234_probe,
165}; 164};
diff --git a/drivers/rtc/rtc-m41t93.c b/drivers/rtc/rtc-m41t93.c
index 4698c7e344e4..5ac45fc1a787 100644
--- a/drivers/rtc/rtc-m41t93.c
+++ b/drivers/rtc/rtc-m41t93.c
@@ -197,7 +197,6 @@ static int m41t93_probe(struct spi_device *spi)
197static struct spi_driver m41t93_driver = { 197static struct spi_driver m41t93_driver = {
198 .driver = { 198 .driver = {
199 .name = "rtc-m41t93", 199 .name = "rtc-m41t93",
200 .owner = THIS_MODULE,
201 }, 200 },
202 .probe = m41t93_probe, 201 .probe = m41t93_probe,
203}; 202};
diff --git a/drivers/rtc/rtc-m41t94.c b/drivers/rtc/rtc-m41t94.c
index 8d800b1bf87b..1f0eb79e69f9 100644
--- a/drivers/rtc/rtc-m41t94.c
+++ b/drivers/rtc/rtc-m41t94.c
@@ -137,7 +137,6 @@ static int m41t94_probe(struct spi_device *spi)
137static struct spi_driver m41t94_driver = { 137static struct spi_driver m41t94_driver = {
138 .driver = { 138 .driver = {
139 .name = "rtc-m41t94", 139 .name = "rtc-m41t94",
140 .owner = THIS_MODULE,
141 }, 140 },
142 .probe = m41t94_probe, 141 .probe = m41t94_probe,
143}; 142};
diff --git a/drivers/rtc/rtc-max6902.c b/drivers/rtc/rtc-max6902.c
index ac3f4191864f..315d09e0f2c1 100644
--- a/drivers/rtc/rtc-max6902.c
+++ b/drivers/rtc/rtc-max6902.c
@@ -146,7 +146,6 @@ static int max6902_probe(struct spi_device *spi)
146static struct spi_driver max6902_driver = { 146static struct spi_driver max6902_driver = {
147 .driver = { 147 .driver = {
148 .name = "rtc-max6902", 148 .name = "rtc-max6902",
149 .owner = THIS_MODULE,
150 }, 149 },
151 .probe = max6902_probe, 150 .probe = max6902_probe,
152}; 151};
diff --git a/drivers/rtc/rtc-mcp795.c b/drivers/rtc/rtc-mcp795.c
index 34295bf00416..1c91ce8a6d75 100644
--- a/drivers/rtc/rtc-mcp795.c
+++ b/drivers/rtc/rtc-mcp795.c
@@ -186,7 +186,6 @@ static int mcp795_probe(struct spi_device *spi)
186static struct spi_driver mcp795_driver = { 186static struct spi_driver mcp795_driver = {
187 .driver = { 187 .driver = {
188 .name = "rtc-mcp795", 188 .name = "rtc-mcp795",
189 .owner = THIS_MODULE,
190 }, 189 },
191 .probe = mcp795_probe, 190 .probe = mcp795_probe,
192}; 191};
diff --git a/drivers/rtc/rtc-pcf2123.c b/drivers/rtc/rtc-pcf2123.c
index 1c47650fe624..ea8a31c91641 100644
--- a/drivers/rtc/rtc-pcf2123.c
+++ b/drivers/rtc/rtc-pcf2123.c
@@ -346,7 +346,6 @@ MODULE_DEVICE_TABLE(of, pcf2123_dt_ids);
346static struct spi_driver pcf2123_driver = { 346static struct spi_driver pcf2123_driver = {
347 .driver = { 347 .driver = {
348 .name = "rtc-pcf2123", 348 .name = "rtc-pcf2123",
349 .owner = THIS_MODULE,
350 .of_match_table = of_match_ptr(pcf2123_dt_ids), 349 .of_match_table = of_match_ptr(pcf2123_dt_ids),
351 }, 350 },
352 .probe = pcf2123_probe, 351 .probe = pcf2123_probe,
diff --git a/drivers/rtc/rtc-r9701.c b/drivers/rtc/rtc-r9701.c
index feeedbd82000..83d2bcca6a8f 100644
--- a/drivers/rtc/rtc-r9701.c
+++ b/drivers/rtc/rtc-r9701.c
@@ -172,7 +172,6 @@ static int r9701_remove(struct spi_device *spi)
172static struct spi_driver r9701_driver = { 172static struct spi_driver r9701_driver = {
173 .driver = { 173 .driver = {
174 .name = "rtc-r9701", 174 .name = "rtc-r9701",
175 .owner = THIS_MODULE,
176 }, 175 },
177 .probe = r9701_probe, 176 .probe = r9701_probe,
178 .remove = r9701_remove, 177 .remove = r9701_remove,
diff --git a/drivers/rtc/rtc-rs5c348.c b/drivers/rtc/rtc-rs5c348.c
index 090a101c1c81..1162fecab8cf 100644
--- a/drivers/rtc/rtc-rs5c348.c
+++ b/drivers/rtc/rtc-rs5c348.c
@@ -221,7 +221,6 @@ static int rs5c348_probe(struct spi_device *spi)
221static struct spi_driver rs5c348_driver = { 221static struct spi_driver rs5c348_driver = {
222 .driver = { 222 .driver = {
223 .name = "rtc-rs5c348", 223 .name = "rtc-rs5c348",
224 .owner = THIS_MODULE,
225 }, 224 },
226 .probe = rs5c348_probe, 225 .probe = rs5c348_probe,
227}; 226};
diff --git a/drivers/rtc/rtc-rx4581.c b/drivers/rtc/rtc-rx4581.c
index 6889222f9ed6..de3fe4f8d133 100644
--- a/drivers/rtc/rtc-rx4581.c
+++ b/drivers/rtc/rtc-rx4581.c
@@ -291,7 +291,6 @@ MODULE_DEVICE_TABLE(spi, rx4581_id);
291static struct spi_driver rx4581_driver = { 291static struct spi_driver rx4581_driver = {
292 .driver = { 292 .driver = {
293 .name = "rtc-rx4581", 293 .name = "rtc-rx4581",
294 .owner = THIS_MODULE,
295 }, 294 },
296 .probe = rx4581_probe, 295 .probe = rx4581_probe,
297 .id_table = rx4581_id, 296 .id_table = rx4581_id,