hwrng: msm - make use of devm_hwrng_register
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 12 Mar 2015 21:00:05 +0000 (14:00 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 16 Mar 2015 10:45:55 +0000 (21:45 +1100)
commit9052b0dd45d7e44aa43af03f48d329a2530c70c4
tree8d5515376d7c8dc9a137c23c6820de4e3e479169
parent1e6e38a916e2410e80cec5f2e3c075ffd967b027
hwrng: msm - make use of devm_hwrng_register

This allows us to get rid of remove() method.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/msm-rng.c