Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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;
	}
	}