]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
hwrng: drivers - Use device-managed registration API
authorChuhong Yuan <hslester96@gmail.com>
Thu, 25 Jul 2019 08:01:55 +0000 (16:01 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 2 Aug 2019 04:44:33 +0000 (14:44 +1000)
commit3e75241be8081f22f7382f4041496b10a4d9aed0
treea6605ba766c278cd25ef20a27b3b05bba2c6c389
parentdec0fb3946c478e7bb6165a1b7a03092ceefd419
hwrng: drivers - Use device-managed registration API

Use devm_hwrng_register to simplify the implementation.
Manual unregistration and some remove functions can be
removed now.

Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Acked-by: Ɓukasz Stelmach <l.stelmach@samsung.com>
Acked-by: Ludovic Desroches <ludovic.desroches@microchip.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/atmel-rng.c
drivers/char/hw_random/cavium-rng-vf.c
drivers/char/hw_random/exynos-trng.c
drivers/char/hw_random/n2-drv.c
drivers/char/hw_random/nomadik-rng.c
drivers/char/hw_random/omap-rng.c
drivers/char/hw_random/powernv-rng.c
drivers/char/hw_random/st-rng.c
drivers/char/hw_random/xgene-rng.c