summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-stm32.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2022-11-09 13:09:07 +0100
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2022-11-15 21:06:43 +0100
commit375bbba09692fe4c5218eddee8e312dd733fa846 (patch)
tree76f14e9fe9175925fca47a6f5d2a842a7f84d13b /drivers/rtc/rtc-stm32.c
parent508ccdfb86b21da37ad091003a4d4567709d5dfb (diff)
downloadlinux-375bbba09692fe4c5218eddee8e312dd733fa846.tar.bz2
rtc: cmos: Call rtc_wake_setup() from cmos_do_probe()
To reduce code duplication, move the invocation of rtc_wake_setup() into cmos_do_probe() and simplify the callers of the latter. No intentional functional impact. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Zhang Rui <rui.zhang@intel.com> Tested-by: Zhang Rui <rui.zhang@intel.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/2143522.irdbgypaU6@kreacher Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/rtc-stm32.c')
0 files changed, 0 insertions, 0 deletions