diff options
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2019-08-19 00:00:40 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2019-08-20 21:44:45 +0200 |
commit | 924068e50a6ca426b8fda1d2c06d6d2bde212136 (patch) | |
tree | 4d3286bb946e0198c7a7c48a2aea7f1135e9e1b9 /drivers/rtc/rtc-sunxi.c | |
parent | rtc: pcf2123: add proper compatible string (diff) | |
download | linux-924068e50a6ca426b8fda1d2c06d6d2bde212136.tar.xz linux-924068e50a6ca426b8fda1d2c06d6d2bde212136.zip |
rtc: class: add debug message when registration fails
Add a message when __rtc_register_device fails because rtc->ops is NULL.
This may only happen when developing a new driver so use dev_dbg to avoid
compiling it in by default.
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20190818220041.17833-1-alexandre.belloni@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/rtc-sunxi.c')
0 files changed, 0 insertions, 0 deletions