Re: [PATCH] hwrng: core - remove (un)register_miscdev()

From: Herbert Xu
Date: Fri Jul 12 2024 - 20:00:39 EST


On Sat, Jul 06, 2024 at 11:41:24PM +0900, Masahiro Yamada wrote:
> These functions are redundant after commit 0daa7a0afd0f ("hwrng: Avoid
> manual device_create_file() calls").
>
> Let's call misc_(de)register() directly.
>
> Signed-off-by: Masahiro Yamada <masahiroy@xxxxxxxxxx>
> ---
>
> drivers/char/hw_random/core.c | 14 ++------------
> 1 file changed, 2 insertions(+), 12 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