kernel_optimize_test/drivers/tty
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
..
hvc Fix common misspellings 2011-03-31 11:26:23 -03:00
ipwireless
serial drivercore: revert addition of of_match to struct device 2011-05-18 12:32:23 -06:00
vt Fix common misspellings 2011-03-31 11:26:23 -03:00
amiserial.c
bfin_jtag_comm.c drivers/tty/bfin_jtag_comm.c: avoid calling put_tty_driver on NULL 2011-03-23 19:46:39 -07:00
cyclades.c
isicom.c
Kconfig
Makefile
moxa.c
moxa.h
mxser.c
mxser.h Fix common misspellings 2011-03-31 11:26:23 -03:00
n_gsm.c tty/n_gsm: fix bug in CRC calculation for gsm1 mode 2011-04-19 16:38:50 -07:00
n_hdlc.c
n_r3964.c
n_tty.c tty: fix endless work loop when the buffer fills up 2011-04-04 14:26:54 -07:00
nozomi.c Fix common misspellings 2011-03-31 11:26:23 -03:00
pty.c
rocket_int.h
rocket.c Fix common misspellings 2011-03-31 11:26:23 -03:00
rocket.h
synclink_gt.c Fix common misspellings 2011-03-31 11:26:23 -03:00
synclink.c Fix common misspellings 2011-03-31 11:26:23 -03:00
synclinkmp.c Fix common misspellings 2011-03-31 11:26:23 -03:00
sysrq.c lib, arch: add filter argument to show_mem and fix private implementations 2011-03-24 17:49:37 -07:00
tty_audit.c
tty_buffer.c tty: fix endless work loop when the buffer fills up 2011-04-04 14:26:54 -07:00
tty_io.c Fix common misspellings 2011-03-31 11:26:23 -03:00
tty_ioctl.c Fix common misspellings 2011-03-31 11:26:23 -03:00
tty_ldisc.c tty: stop using "delayed_work" in the tty layer 2011-03-22 16:17:32 -07:00
tty_mutex.c
tty_port.c