summaryrefslogtreecommitdiffstats
path: root/drivers/char/sonypi.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2015-03-12 22:00:06 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2015-03-16 11:45:56 +0100
commitef0a1b26499f61b2453dd0c454aedee687edf31c (patch)
treed7d8ce39756b69f3b893ef1454ab3e2a03683b7b /drivers/char/sonypi.c
parenthwrng: msm - make use of devm_hwrng_register (diff)
downloadlinux-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