aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/dev_api.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <[email protected]>2025-07-09 19:08:05 +0000
committerWim Van Sebroeck <[email protected]>2025-07-16 16:05:02 +0000
commit801c6592bf4c9892389352586ba36173ae9e8f9e (patch)
treeb45015e7044ec0fbd3307f0dce6b9caa9c7bcd54 /net/core/dev_api.c
parentwatchdog: iTCO_wdt: Report error if timeout configuration fails (diff)
downloadkernel-801c6592bf4c9892389352586ba36173ae9e8f9e.tar.gz
kernel-801c6592bf4c9892389352586ba36173ae9e8f9e.zip
watchdog: renesas_wdt: Convert to DEFINE_SIMPLE_DEV_PM_OPS()
Convert the Renesas WDT watchdog 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 <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Link: https://lore.kernel.org/r/3d6d46ff56c908880a167ffb2a74c713060a1a57.1752088043.git.geert+renesas@glider.be Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'net/core/dev_api.c')
0 files changed, 0 insertions, 0 deletions