mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-29 15:14:18 +08:00
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: Alexandre Belloni <alexandre.belloni@free-electrons.com>
This commit is contained in:
parent
77a73f3cae
commit
9f8606533b
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user