提交 9f860653 编写于 作者: A 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: NAlexandre Belloni <alexandre.belloni@free-electrons.com>
上级 77a73f3c
......@@ -464,7 +464,7 @@ void rtc_dev_prepare(struct rtc_device *rtc)
return;
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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册