summaryrefslogtreecommitdiff
path: root/drivers/rtc
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@bootlin.com>2023-02-26 01:31:23 +0300
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2023-02-26 01:31:23 +0300
commitc978414bf5190c0474d3c98df95228c2635b6021 (patch)
tree97be56caf3174786f048af93fbac2e9fcd3069c0 /drivers/rtc
parente90ff8ede777b98b44611b416b1ae6be94258335 (diff)
parent08279468a294d8c996a657ecc9e51bd5c084c75d (diff)
downloadlinux-c978414bf5190c0474d3c98df95228c2635b6021.tar.xz
Merge tag 'rtc-6.2-fixes' into rtc-next
Diffstat (limited to 'drivers/rtc')
-rw-r--r--drivers/rtc/rtc-sunplus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/rtc/rtc-sunplus.c b/drivers/rtc/rtc-sunplus.c
index e8e2ab1103fc..4b578e4d44f6 100644
--- a/drivers/rtc/rtc-sunplus.c
+++ b/drivers/rtc/rtc-sunplus.c
@@ -240,8 +240,8 @@ static int sp_rtc_probe(struct platform_device *plat_dev)
if (IS_ERR(sp_rtc->reg_base))
return dev_err_probe(&plat_dev->dev, PTR_ERR(sp_rtc->reg_base),
"%s devm_ioremap_resource fail\n", RTC_REG_NAME);
- dev_dbg(&plat_dev->dev, "res = 0x%x, reg_base = 0x%lx\n",
- sp_rtc->res->start, (unsigned long)sp_rtc->reg_base);
+ dev_dbg(&plat_dev->dev, "res = %pR, reg_base = %p\n",
+ sp_rtc->res, sp_rtc->reg_base);
sp_rtc->irq = platform_get_irq(plat_dev, 0);
if (sp_rtc->irq < 0)