hwrng: core - Use struct completion for cleanup_done
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 23 Dec 2014 05:40:17 +0000 (16:40 +1100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 25 Dec 2014 21:33:34 +0000 (08:33 +1100)
commit77584ee57434813b50fc85cde995a6271a5081b7
tree864924c83b987f586da1ee50ab4e49eac6bcafc0
parentd69e75deff2377b46b2b357ac3781cc93cd7ffd6
hwrng: core - Use struct completion for cleanup_done

There is no point in doing a manual completion for cleanup_done
when struct completion fits in perfectly.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/core.c
include/linux/hw_random.h