linux/drivers/char/hw_random
Grant Likely b1608d69cb drivercore: revert addition of of_match to struct device
Commit b826291c, "drivercore/dt: add a match table pointer to struct
device" added an of_match pointer to struct device to cache the
of_match_table entry discovered at driver match time.  This was unsafe
because matching is not an atomic operation with probing a driver.  If
two or more drivers are attempted to be matched to a driver at the
same time, then the cached matching entry pointer could get
overwritten.

This patch reverts the of_match cache pointer and reworks all users to
call of_match_device() directly instead.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2011-05-18 12:32:23 -06:00
..
amd-rng.c
core.c BKL: remove extraneous #include <smp_lock.h> 2010-11-17 08:59:32 -08:00
geode-rng.c
intel-rng.c
ixp4xx-rng.c
Kconfig hwrng: pixocell - add support for picoxcell TRNG 2011-01-23 18:59:19 +11:00
Makefile hwrng: pixocell - add support for picoxcell TRNG 2011-01-23 18:59:19 +11:00
mxc-rnga.c
n2-asm.S
n2-drv.c drivercore: revert addition of of_match to struct device 2011-05-18 12:32:23 -06:00
n2rng.h of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00
nomadik-rng.c ARM: amba: make probe() functions take const id tables 2011-02-23 16:24:14 +00:00
octeon-rng.c
omap-rng.c hwrng: omap - Convert release_resource to release_region/release_mem_region 2011-02-16 13:05:54 +11:00
pasemi-rng.c dt/powerpc: Eliminate users of of_platform_{,un}register_driver 2011-02-28 01:36:39 -07:00
picoxcell-rng.c hwrng: pixocell - add support for picoxcell TRNG 2011-01-23 18:59:19 +11:00
timeriomem-rng.c
tx4939-rng.c
via-rng.c hwrng: via_rng - Fix memory scribbling on some CPUs 2011-01-07 14:55:06 +11:00
virtio-rng.c virtio-rng: use virtqueue_xxx wrappers 2010-05-19 22:15:45 +09:30