From: Alexandre Belloni Date: Fri, 2 Jun 2017 12:01:37 +0000 (+0200) Subject: rtc: dev: remove rtc->name from debug message X-Git-Tag: v4.13-rc1~40^2~40 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=9f8606533b961b06c258cf4804e3379aa14c5951;p=karo-tx-linux.git 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 --- diff --git a/drivers/rtc/rtc-dev.c b/drivers/rtc/rtc-dev.c index e81a8711fea7..794bc4fa4937 100644 --- a/drivers/rtc/rtc-dev.c +++ b/drivers/rtc/rtc-dev.c @@ -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; }