Commit 4b9e2a0c authored by Alexandre Belloni's avatar Alexandre Belloni
Browse files

rtc: ds1307: avoid using rtc-name

ds1307->rtc->name is a copy of ds1307->name, use it instead.

Signed-off-by: default avatarAlexandre Belloni <>
parent f09e7069
......@@ -1567,7 +1567,7 @@ static int ds1307_probe(struct i2c_client *client,
err = devm_request_threaded_irq(ds1307->dev,
ds1307->irq, NULL, irq_handler,
ds1307->rtc->name, ds1307);
ds1307->name, ds1307);
if (err) {
client->irq = 0;
device_set_wakeup_capable(ds1307->dev, false);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment