Re: [PATCH 09/26] drm: exynos: Remove #ifdef guards for PM related functions

2022-11-20 Thread Inki Dae
Hi, 2022년 11월 8일 (화) 오전 2:52, Paul Cercueil 님이 작성: > > Use the DEFINE_RUNTIME_DEV_PM_OPS(), SYSTEM_SLEEP_PM_OPS(), > RUNTIME_PM_OPS() and pm_ptr() macros to handle the runtime and suspend > PM callbacks. > > These macros allow the suspend and resume functions to be automatically > dropped by the

[PATCH 09/26] drm: exynos: Remove #ifdef guards for PM related functions

2022-11-07 Thread Paul Cercueil
Use the DEFINE_RUNTIME_DEV_PM_OPS(), SYSTEM_SLEEP_PM_OPS(), RUNTIME_PM_OPS() and pm_ptr() macros to handle the runtime and suspend PM callbacks. These macros allow the suspend and resume functions to be automatically dropped by the compiler when CONFIG_PM is disabled, without having to use #ifdef