hwrng: n2 - Use device_get_match_data()
authorRob Herring <robh@kernel.org>
Fri, 6 Oct 2023 21:43:40 +0000 (16:43 -0500)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 13 Oct 2023 10:31:07 +0000 (18:31 +0800)
commit30bf5bd05ecebb531689b87d5ba4fd02b991403b
treee1ab08b85dc3178f715c106e864631c8d69e05c4
parent4dc44aec28c8ecc6744d02c8d7d68bf0a8d59891
hwrng: n2 - 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>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/n2-drv.c