diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2015-03-12 22:00:06 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-03-16 11:45:56 +0100 |
commit | ef0a1b26499f61b2453dd0c454aedee687edf31c (patch) | |
tree | d7d8ce39756b69f3b893ef1454ab3e2a03683b7b /drivers/char/sonypi.c | |
parent | hwrng: msm - make use of devm_hwrng_register (diff) | |
download | linux-ef0a1b26499f61b2453dd0c454aedee687edf31c.tar.xz linux-ef0a1b26499f61b2453dd0c454aedee687edf31c.zip |
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>
Diffstat (limited to 'drivers/char/sonypi.c')
0 files changed, 0 insertions, 0 deletions