diff options
| author | Fabio Estevam <[email protected]> | 2024-08-09 02:08:21 +0000 |
|---|---|---|
| committer | Wim Van Sebroeck <[email protected]> | 2024-09-10 09:05:28 +0000 |
| commit | 6adb55917497047455712dd8a85d359034a415a0 (patch) | |
| tree | 4b815bc2da5275c6405f8479eee7fadc4bbc496f /drivers/gpu/drm/amd/amdgpu/atom.c | |
| parent | watchdog: imx_sc_wdt: Don't disable WDT in suspend (diff) | |
| download | kernel-6adb55917497047455712dd8a85d359034a415a0.tar.gz kernel-6adb55917497047455712dd8a85d359034a415a0.zip | |
watchdog: imx2_wdt: Remove __maybe_unused notations
Use the DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr() macros to
handle the .suspend/.resume callbacks.
These macros allow the suspend and resume functions to be automatically
dropped by the compiler when CONFIG_SUSPEND is disabled, without having
to use __maybe_unused notation.
Signed-off-by: Fabio Estevam <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/atom.c')
0 files changed, 0 insertions, 0 deletions
