Re: [PATCH] rtc: sh: Convert to DEFINE_SIMPLE_DEV_PM_OPS()
Alexandre Belloni <[email protected]>
| Newsgroups | gmane.linux.ports.sh.devel,gmane.linux.kernel.renesas-soc |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 09 Jul 2025 20:47:52 +0200, Geert Uytterhoeven wrote:
> Convert the Renesas SuperH On-Chip RTC driver from SIMPLE_DEV_PM_OPS()
> to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr(). This lets us drop the
> __maybe_unused annotations from its suspend and resume callbacks, and
> reduces kernel size in case CONFIG_PM or CONFIG_PM_SLEEP is disabled.
>
>
Applied, thanks!
[1/1] rtc: sh: Convert to DEFINE_SIMPLE_DEV_PM_OPS()
https://git.kernel.org/abelloni/c/e92eda97f8c5
Best regards,
--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com