drm/bridge: it6505: Use SHA-1 library instead of crypto_shash

Instead of using the "sha1" crypto_shash, simply call the sha1() library
function.  This is simpler and faster.

Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Reviewed-by: Chen-Yu Tsai <wenst@chromium.org>
Link: https://patch.msgid.link/20250821175613.14717-1-ebiggers@kernel.org
Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
This commit is contained in:
Eric Biggers
2025-08-21 13:56:13 -04:00
committed by Chen-Yu Tsai
parent a3ae3384be
commit e339a73737
2 changed files with 3 additions and 33 deletions

View File

@@ -120,8 +120,7 @@ config DRM_ITE_IT6505
select DRM_DISPLAY_DP_AUX_BUS
select DRM_KMS_HELPER
select EXTCON
select CRYPTO
select CRYPTO_HASH
select CRYPTO_LIB_SHA1
select REGMAP_I2C
help
ITE IT6505 DisplayPort bridge chip driver.