Use devm_ioremap and devm_hwrng_register instead of ioremap and
hwrng_register. This removes unregistering and error handling code.
Changes in v2:
Remove hardcoded resource size in ioremap, use resource struct obtained
by calling platform_get_resource.
Removing hardcoded resource size was suggest
Hi Herbert, David,
may I inquire for the plans with algif_akcipher? The reason I am asking is
whether this interface may be accepted or whether a key rings based solution
is used and whether I can leave or remove the akcipher related API from my
libkcapi.
Thanks a lot
Stephan
--
To unsubscribe
In core rng_buffer and rng_fillbuf is allocated in hwrng_register only
once and it is freed during module exit. This patch moves allocating
rng_buffer and rng_fillbuf from hwrng_register to rng core's init. This
avoids checking whether rng_buffer and rng_fillbuf was allocated from
every hwrng_regis