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
geode-rng.c
intel-rng.c
ixp4xx-rng.c
Kconfig
Makefile
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
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
timeriomem-rng.c
tx4939-rng.c
via-rng.c
virtio-rng.c