diff options
author | Ville Syrjälä <[email protected]> | 2020-12-04 20:23:09 +0200 |
---|---|---|
committer | Ville Syrjälä <[email protected]> | 2020-12-15 23:13:21 +0200 |
commit | 4294fa5f50328eba73a48baf2b4b053e204c68ec (patch) | |
tree | f5b57d102cc33f6ebbd443b460a79ad3f2b65000 /lib/mpi/mpi-sub-ui.c | |
parent | 7cb917b2b7bbc10cc53f6375f173e8b353593525 (diff) |
drm/i915: Reduce duplicated switch cases in hpd code
With GEN11_HOTPLUG_CTL_LONG_DETECT(), SHOTPLUG_CTL_DDI_HPD_LONG_DETECT()
and ICP_TC_HPD_LONG_DETECT() taking the hpd_pin as their argument
we can remove some duplication in the long_detect() switch statements.
Signed-off-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Lucas De Marchi <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions