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
..
2011-04-26 11:33:18 +02:00
2011-04-11 22:54:42 +02:00
2011-05-14 12:19:18 -07:00
2011-05-18 12:32:23 -06:00
2011-03-31 11:26:23 -03:00
2011-04-26 11:33:09 +02:00
2011-05-13 13:52:57 -07:00
2011-04-07 11:14:49 -07:00
2011-03-31 11:26:23 -03:00
2011-05-18 12:32:23 -06:00
2011-04-30 10:14:08 +01:00
2011-04-12 14:38:57 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-04-11 15:44:38 -07:00
2011-05-18 12:32:23 -06:00
2011-05-04 14:21:39 -07:00
2011-04-11 15:44:38 -07:00
2011-05-16 12:01:43 +10:00
2011-04-07 11:14:49 -07:00
2011-05-01 09:06:35 -07:00
2011-05-18 12:32:23 -06:00
2011-04-21 19:43:59 +02:00
2011-04-26 23:31:11 -07:00
2011-05-12 10:41:31 -07:00
2011-03-31 11:26:23 -03:00
2011-05-18 02:55:22 -07:00
2011-03-31 11:26:23 -03:00
2011-04-07 11:14:49 -07:00
2011-04-21 10:00:00 -07:00
2011-05-18 03:16:38 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-05-11 11:09:58 +02:00
2011-04-14 16:06:55 -07:00
2011-05-18 12:32:23 -06:00
2011-05-18 12:32:23 -06:00
2011-05-18 12:32:23 -06:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-04-19 16:36:24 -07:00
2011-05-16 18:33:35 -07:00
2011-04-26 23:31:11 -07:00
2011-05-09 10:48:47 -04:00
2011-03-31 11:26:23 -03:00
2011-03-29 14:48:19 +02:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-05-18 02:55:22 -07:00
2011-03-31 11:26:23 -03:00
2011-05-17 08:02:04 -07:00
2011-05-10 17:13:42 +02:00
2011-03-31 11:26:23 -03:00
2011-05-18 12:32:23 -06:00
2011-03-31 11:26:23 -03:00
2011-03-30 00:15:49 +02:00
2011-04-11 15:44:38 -07:00
2011-03-31 11:26:23 -03:00
2011-05-04 14:23:41 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-05-18 12:32:23 -06:00
2011-03-31 11:26:23 -03:00
2011-05-18 12:32:23 -06:00
2011-03-31 11:26:23 -03:00
2011-05-14 11:24:32 -07:00
2011-04-21 22:57:00 +09:30
2011-03-28 19:33:04 +02:00
2011-03-31 11:26:23 -03:00
2011-05-18 12:32:23 -06:00
2011-04-20 00:36:11 +02:00