mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-23 05:56:14 -04:00
drm/amd/display: Drop legacy code
Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> Acked-by: Roman Li <roman.li@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
ffa6d7ab1b
commit
2a2f97e5f4
@@ -95,10 +95,6 @@ static bool offset_to_id(
|
||||
return true;
|
||||
default:
|
||||
ASSERT_CRITICAL(false);
|
||||
#ifdef PALLADIUM_SUPPORTED
|
||||
*en = GPIO_DDC_LINE_DDC1;
|
||||
return true;
|
||||
#endif
|
||||
return false;
|
||||
}
|
||||
break;
|
||||
@@ -184,11 +180,6 @@ static bool offset_to_id(
|
||||
/* UNEXPECTED */
|
||||
default:
|
||||
/* case REG(DC_GPIO_SYNCA_A): not exista */
|
||||
#ifdef PALLADIUM_SUPPORTED
|
||||
*id = GPIO_ID_HPD;
|
||||
*en = GPIO_DDC_LINE_DDC1;
|
||||
return true;
|
||||
#endif
|
||||
ASSERT_CRITICAL(false);
|
||||
return false;
|
||||
}
|
||||
@@ -308,10 +299,6 @@ static bool id_to_offset(
|
||||
break;
|
||||
default:
|
||||
ASSERT_CRITICAL(false);
|
||||
#ifdef PALLADIUM_SUPPORTED
|
||||
info->mask = DC_GPIO_HPD_A__DC_GPIO_HPD1_A_MASK;
|
||||
result = true;
|
||||
#endif
|
||||
result = false;
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user