Romain Perier b23d2d92ce hwrng: omap - Remove global definition of hwrng
The omap-rng driver currently assumes that there will only ever be a
single instance of an RNG device. For this reason, there is a statically
allocated struct hwrng, with a fixed name. However, registering two
struct hwrng with the same isn't accepted by the RNG framework, so we
need to switch to a dynamically allocated struct hwrng, each using a
different name. Then, we define the name of this hwrng to "dev_name(dev)",
so the name of the data structure is unique per device.

Signed-off-by: Romain Perier <romain.perier@free-electrons.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2016-10-21 10:27:51 +08:00
..
2013-05-05 00:11:29 -04:00
2016-07-14 16:21:53 +09:00
2013-02-22 23:31:31 -05:00
2016-02-17 09:39:56 +01:00
2016-08-05 09:48:22 -04:00
2013-12-18 16:39:54 -08:00
2016-08-05 09:48:22 -04:00
2013-02-22 23:31:31 -05:00
2016-08-31 14:22:49 +02:00
2016-01-22 18:04:28 -05:00
2013-10-16 12:36:10 -07:00