drm/amd/display: fix typos in several function pointer checks
authorVitaliy Shevtsov <v.shevtsov@maxima.ru>
Fri, 20 Sep 2024 21:43:40 +0000 (02:43 +0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 26 Sep 2024 21:06:18 +0000 (17:06 -0400)
commite82b973d141cda43634d9ae91076ce86928208b7
treea107aaab72d097248e873430e4a24e84ee99a116
parentf501057aff3357d6973a09036fc78fd6efb1b1ae
drm/amd/display: fix typos in several function pointer checks

Fix several copypaste mistakes in *_disable_link_output() functions where
an improper function pointer is checked before dereference.

Found by Linux Verification Center (linuxtesting.org) with Svace.

Signed-off-by: Vitaliy Shevtsov <v.shevtsov@maxima.ru>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c
drivers/gpu/drm/amd/display/dc/hwss/dcn314/dcn314_hwseq.c
drivers/gpu/drm/amd/display/dc/hwss/dcn32/dcn32_hwseq.c