diff options
| author | AngeloGioacchino Del Regno <[email protected]> | 2025-02-17 15:48:23 +0000 |
|---|---|---|
| committer | Chun-Kuang Hu <[email protected]> | 2025-02-20 14:13:13 +0000 |
| commit | 900f5b37a93d19820398a2cb9e5bb36f506344bf (patch) | |
| tree | 26c59fe8602765557da70c57498f9113a3bafdc2 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | drm/mediatek: mtk_hdmi: Use devm managed version of drm_bridge_add (diff) | |
| download | kernel-900f5b37a93d19820398a2cb9e5bb36f506344bf.tar.gz kernel-900f5b37a93d19820398a2cb9e5bb36f506344bf.zip | |
drm/mediatek: mtk_hdmi: Remove ifdef for CONFIG_PM_SLEEP
Since the SIMPLE_DEV_PM_OPS macro and the pm pointer are anyway
defined when CONFIG_PM_SLEEP is not set, remove the ifdef for it
and indicate that the mtk_hdmi_{remove,suspend} functions may be
unused (as they are, in case PM support is not built-in).
While at it, to improve readability, also compress the
SIMPLE_DEV_PM_OPS declaration as it even fits in less
than 80 columns.
Reviewed-by: CK Hu <[email protected]>
Signed-off-by: AngeloGioacchino Del Regno <[email protected]>
Link: https://patchwork.kernel.org/project/linux-mediatek/patch/[email protected]/
Signed-off-by: Chun-Kuang Hu <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions
