linux/drivers/mtd
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
..
chips Fix common misspellings 2011-03-31 11:26:23 -03:00
devices Fix common misspellings 2011-03-31 11:26:23 -03:00
lpddr Fix common misspellings 2011-03-31 11:26:23 -03:00
maps drivercore: revert addition of of_match to struct device 2011-05-18 12:32:23 -06:00
nand Revert wrong fixes for common misspellings 2011-04-26 23:31:11 -07:00
onenand Fix common misspellings 2011-03-31 11:26:23 -03:00
tests mtd: speedtest: fix integer overflow 2011-03-11 14:22:49 +00:00
ubi Merge branch 'for-linus' of git://git.infradead.org/ubifs-2.6 2011-04-07 11:31:03 -07:00
afs.c
ar7part.c
cmdlinepart.c
ftl.c
inftlcore.c
inftlmount.c
Kconfig mtdswap: kill strict error handling option 2011-03-25 17:04:18 +02:00
Makefile mtd: Add mtdswap block driver 2011-03-11 14:22:46 +00:00
mtd_blkdevs.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 into for-linus-1 2011-03-25 17:41:20 +02:00
mtdblock_ro.c
mtdblock.c Fix common misspellings 2011-03-31 11:26:23 -03:00
mtdchar.c Fix common misspellings 2011-03-31 11:26:23 -03:00
mtdconcat.c mtd: adapt writebufsize calculation for concat 2011-03-11 14:22:42 +00:00
mtdcore.c mtd: local symbols should be static 2011-03-11 14:22:41 +00:00
mtdcore.h
mtdoops.c Merge git://git.infradead.org/mtd-2.6 2011-01-17 11:15:30 -08:00
mtdpart.c mtd: mtdpart: disallow reading OOB past the end of the partition 2011-01-17 15:25:48 +00:00
mtdsuper.c
mtdswap.c mtd: mtdswap: fix printk format warning 2011-04-01 16:44:31 +03:00
nftlcore.c
nftlmount.c
ofpart.c
redboot.c
rfd_ftl.c
sm_ftl.c Fix common misspellings 2011-03-31 11:26:23 -03:00
sm_ftl.h
ssfdc.c