crypto: atmel-sha204a - Use device-managed registration API
authorChuhong Yuan <hslester96@gmail.com>
Tue, 23 Jul 2019 07:19:36 +0000 (15:19 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 2 Aug 2019 04:43:59 +0000 (14:43 +1000)
commit01970282a4ce0a049eddeb85bbe677e765111ee5
treef6a5a7f75a4e1f948ea4e0c673e8e7534fe7390f
parentc9f1fd4f2f74f322d5bdc4ec2c6a38ab7462967b
crypto: atmel-sha204a - Use device-managed registration API

Use devm_hwrng_register to get rid of manual
unregistration.

Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Acked-by: Ludovic Desroches <ludovic.desroches@microchip.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/atmel-sha204a.c