Re: [PATCH] hwrng: n2: Use device_get_match_data()

From: Herbert Xu
Date: Fri Oct 13 2023 - 06:38:57 EST


On Fri, Oct 06, 2023 at 04:43:40PM -0500, Rob Herring wrote:
> 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@xxxxxxxxxx>
> ---
> drivers/char/hw_random/n2-drv.c | 10 +++-------
> 1 file changed, 3 insertions(+), 7 deletions(-)

Patch applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt