hwrng: iproc-rng200 - make use of devm_hwrng_register
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 12 Mar 2015 21:00:07 +0000 (14:00 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 16 Mar 2015 10:45:56 +0000 (21:45 +1100)
commit73b3862127e71d8cc7677b07ccc5adff0c0179bd
treeec8ea359b1954d60ccc51bd0aa5039f9a8dc3e9a
parentef0a1b26499f61b2453dd0c454aedee687edf31c
hwrng: iproc-rng200 - make use of devm_hwrng_register

This allows us to get rid of driver's 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/iproc-rng200.c