Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1656179 > unrolled thread

[PATCH 3/5] rtc: pcf8563: avoid using rtc->name

Started byAlexandre Belloni <alexandre.belloni@free-electrons.com>
First post2017-06-02 14:30 +0200
Last post2017-06-02 14:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 3/5] rtc: pcf8563: avoid using rtc->name Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2017-06-02 14:30 +0200

#1656179 — [PATCH 3/5] rtc: pcf8563: avoid using rtc->name

FromAlexandre Belloni <alexandre.belloni@free-electrons.com>
Date2017-06-02 14:30 +0200
Subject[PATCH 3/5] rtc: pcf8563: avoid using rtc->name
Message-ID<tNTSi-11x-29@gated-at.bofh.it>
pcf8563->rtc->name is a copy of pcf8563_driver.driver.name, use it instead

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
---
 drivers/rtc/rtc-pcf8563.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/rtc/rtc-pcf8563.c b/drivers/rtc/rtc-pcf8563.c
index 1227ceab61ee..cea6ea4df970 100644
--- a/drivers/rtc/rtc-pcf8563.c
+++ b/drivers/rtc/rtc-pcf8563.c
@@ -606,7 +606,7 @@ static int pcf8563_probe(struct i2c_client *client,
 		err = devm_request_threaded_irq(&client->dev, client->irq,
 				NULL, pcf8563_irq,
 				IRQF_SHARED|IRQF_ONESHOT|IRQF_TRIGGER_FALLING,
-				pcf8563->rtc->name, client);
+				pcf8563_driver.driver.name, client);
 		if (err) {
 			dev_err(&client->dev, "unable to request IRQ %d\n",
 								client->irq);
-- 
2.11.0

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web