Commit 900f5b3
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]>1 parent eb8779b commit 900f5b3
1 file changed
+4
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1750 | 1750 | | |
1751 | 1751 | | |
1752 | 1752 | | |
1753 | | - | |
1754 | | - | |
| 1753 | + | |
1755 | 1754 | | |
1756 | 1755 | | |
1757 | 1756 | | |
| |||
1760 | 1759 | | |
1761 | 1760 | | |
1762 | 1761 | | |
1763 | | - | |
| 1762 | + | |
1764 | 1763 | | |
1765 | 1764 | | |
1766 | 1765 | | |
| |||
1773 | 1772 | | |
1774 | 1773 | | |
1775 | 1774 | | |
1776 | | - | |
1777 | | - | |
1778 | | - | |
| 1775 | + | |
| 1776 | + | |
1779 | 1777 | | |
1780 | 1778 | | |
1781 | 1779 | | |
| |||
0 commit comments