提交 f09e7069 编写于 作者: A Alexandre Belloni

rtc: pcf8563: avoid using rtc->name

pcf8563->rtc->name is a copy of pcf8563_driver.driver.name, use it instead
Signed-off-by: NAlexandre Belloni <alexandre.belloni@free-electrons.com>
上级 9f860653
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册