aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/rust/pin-init/internal/src
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2025-07-09 20:47:52 +0200
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2025-07-22 12:59:22 +0200
commite92eda97f8c534be63ab0ef322ad2fdfeb759e16 (patch)
tree829e6ddcbb799845d11e7f3a432ce6b0de9f7b1c /rust/pin-init/internal/src
parentrtc: Rename lib_test to test_rtc_lib (diff)
downloadwireguard-linux-e92eda97f8c534be63ab0ef322ad2fdfeb759e16.tar.xz
wireguard-linux-e92eda97f8c534be63ab0ef322ad2fdfeb759e16.zip
rtc: sh: Convert to DEFINE_SIMPLE_DEV_PM_OPS()
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. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/396d4a769b8d3c6fec43c65022cdfd8a6854524a.1752086758.git.geert+renesas@glider.be Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'rust/pin-init/internal/src')
0 files changed, 0 insertions, 0 deletions