linux-stable/drivers/gpu/drm/vboxvideo
Paul Cercueil 66284ff9db
drm: vboxvideo: Remove #ifdef guards for PM related functions
Use the pm_sleep_ptr() macro to handle the .suspend / .resume callbacks.

This macro allows the suspend and resume functions to be automatically
dropped by the compiler when CONFIG_SUSPEND is disabled, without having
to use #ifdef guards.

This has the advantage of always compiling these functions in,
independently of any Kconfig option. Thanks to that, bugs and other
regressions are subsequently easier to catch.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221129191942.138244-9-paul@crapouillou.net
2022-12-12 13:07:03 +00:00
..
hgsmi_base.c
hgsmi_ch_setup.h
hgsmi_channels.h
hgsmi_defs.h
Kconfig
Makefile
modesetting.c drm/vboxvideo/modesetting: Provide function names for prototype headers 2021-06-03 13:33:18 +02:00
vbox_drv.c drm: vboxvideo: Remove #ifdef guards for PM related functions 2022-12-12 13:07:03 +00:00
vbox_drv.h drm/vboxvideo: Use managed interfaces for framebuffer write combining 2021-09-23 09:26:09 +02:00
vbox_hgsmi.c
vbox_irq.c drm/vbox: Convert to Linux IRQ interfaces 2021-07-15 11:16:06 +02:00
vbox_main.c drm/fb-helper: Remove unnecessary include statements 2022-11-05 17:12:04 +01:00
vbox_mode.c drm/plane-helper: Export individual helpers 2022-07-26 18:42:07 +02:00
vbox_ttm.c drm/vboxvideo: Use managed interfaces for framebuffer write combining 2021-09-23 09:26:09 +02:00
vboxvideo.h drm/vboxvideo: fix repeated words in comments 2022-09-17 15:01:24 +02:00
vboxvideo_guest.h
vboxvideo_vbe.h
vbva_base.c