crypto: aspeed-hace - Use device_get_match_data()
authorRob Herring <robh@kernel.org>
Fri, 6 Oct 2023 21:39:17 +0000 (16:39 -0500)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 13 Oct 2023 10:31:07 +0000 (18:31 +0800)
commit4dc44aec28c8ecc6744d02c8d7d68bf0a8d59891
treeb82ba414bcd7a7371f8aa02b82b62873df7ee556
parentd807f0240c713bdd7c81a7e212f2feb0b5cd6725
crypto: aspeed-hace - Use device_get_match_data()

Use preferred device_get_match_data() instead of of_match_device() to
get the driver match data. With this, adjust the includes to explicitly
include the correct headers.

Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Andrew Jeffery <andrew@codeconstruct.com.au>
Reviewed-by: Neal Liu <neal_liu@aspeedtech.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/aspeed/aspeed-hace.c