diff options
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2017-06-02 14:01:37 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2017-06-03 10:52:04 +0200 |
commit | 9f8606533b961b06c258cf4804e3379aa14c5951 (patch) | |
tree | a199b1208fd2cc4e9e13e0606f81e788564ecf37 | |
parent | 77a73f3caece06d1d17268f43ec39c5779e6ce24 (diff) | |
download | op-kernel-dev-9f8606533b961b06c258cf4804e3379aa14c5951.zip op-kernel-dev-9f8606533b961b06c258cf4804e3379aa14c5951.tar.gz |
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>
-rw-r--r-- | drivers/rtc/rtc-dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-dev.c b/drivers/rtc/rtc-dev.c index e81a871..794bc4f 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; } |