commit | ef0a1b26499f61b2453dd0c454aedee687edf31c | [log] [tgz] |
---|---|---|
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Thu Mar 12 14:00:06 2015 -0700 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Mon Mar 16 21:45:56 2015 +1100 |
tree | d7d8ce39756b69f3b893ef1454ab3e2a03683b7b | |
parent | 9052b0dd45d7e44aa43af03f48d329a2530c70c4 [diff] |
hwrng: iproc-rng200 - do not use static structure Instead of using static hwrng structure that is reused between binds/unbinds of the device let's embed it into driver's private structure that we allocate. This way we are guaranteed not to stumble onto something left from previous bind attempt. Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>