Re: [PATCH 0/6] Introduce devm_hwrng_register and convert a few dirvers

2015-03-16 Thread Herbert Xu
On Thu, Mar 12, 2015 at 02:00:01PM -0700, Dmitry Torokhov wrote: > A few drivers can benefit from devm-style interface for hwrng since it > is quite often the last thing that isn't automatically managed. Using > devm_hwrng_register() in such drivers allows get rid of manual error > unwinding and dr

[PATCH 0/6] Introduce devm_hwrng_register and convert a few dirvers

2015-03-12 Thread Dmitry Torokhov
A few drivers can benefit from devm-style interface for hwrng since it is quite often the last thing that isn't automatically managed. Using devm_hwrng_register() in such drivers allows get rid of manual error unwinding and drivers' remove() methods. I tested changes to iproc-rng200, the rest are