aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-stm32.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2025-02-27 14:43:02 +0100
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2025-04-08 15:56:19 +0200
commitea59ad0ca975841ea490315d886a612520e9e9da (patch)
treeb0a8eae1d213f4230085145d1b5dbbec068ddc14 /drivers/rtc/rtc-stm32.c
parentrtc: sh: remove useless wrapper function (diff)
downloadlinux-rng-ea59ad0ca975841ea490315d886a612520e9e9da.tar.xz
linux-rng-ea59ad0ca975841ea490315d886a612520e9e9da.zip
rtc: sh: use local variables in probe() for mapping IO
No need to store the resource for the registers in the per-device struct because we only need it during probe. Remove some unneeded unlikely() while here and correct the type of 'regsize'. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Link: https://lore.kernel.org/r/20250227134256.9167-17-wsa+renesas@sang-engineering.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/rtc-stm32.c')
0 files changed, 0 insertions, 0 deletions