hwrng: timeriomem - update to support more than one device
authorAlexander Clouter <alex@digriz.org.uk>
Sun, 31 Mar 2013 16:34:50 +0000 (17:34 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 25 Apr 2013 13:01:45 +0000 (21:01 +0800)
commit1907da78bf6a3f74e5d030a4a4f6700ba0d0a234
treeda0b0fc6f6f3327777976389d88843b1032e1d68
parent57ae1b0532977b30184aaba04b6cafe0a284c21f
hwrng: timeriomem - update to support more than one device

timeriomem_rng only supports a single device instance.  This patch
enables multiple timeriomem_rng devices to coexist as well as adds
some additional error checking.

Signed-off-by: Alexander Clouter <alex@digriz.org.uk>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/timeriomem-rng.c
include/linux/timeriomem-rng.h