Skip to content
Commit 86a10102 authored by Martin Kaiser's avatar Martin Kaiser Committed by Helge Deller
Browse files

fbdev: imxfb: switch to DEFINE_SIMPLE_DEV_PM_OPS



SIMPLE_DEV_PM_OPS is deprecated, replace it with DEFINE_SIMPLE_DEV_PM_OPS
and use pm_sleep_ptr for setting the driver's pm routines. We can now
remove the __maybe_unused qualifier in the suspend and resume functions.

Signed-off-by: default avatarMartin Kaiser <martin@kaiser.cx>
Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent 4e47382f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment