Commit 9f860653 authored by Alexandre Belloni's avatar Alexandre Belloni

rtc: dev: remove rtc->name from debug message

rtc->name is superfluous here because the rtc is already registered at that
point and its name has already been printed.
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@free-electrons.com>
parent 77a73f3c
...@@ -464,7 +464,7 @@ void rtc_dev_prepare(struct rtc_device *rtc) ...@@ -464,7 +464,7 @@ void rtc_dev_prepare(struct rtc_device *rtc)
return; return;
if (rtc->id >= RTC_DEV_MAX) { if (rtc->id >= RTC_DEV_MAX) {
dev_dbg(&rtc->dev, "%s: too many RTC devices\n", rtc->name); dev_dbg(&rtc->dev, "too many RTC devices\n");
return; return;
} }
......
Markdown is supported
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