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-03-31 11:26:23 -03:00
2010-03-07 10:30:57 +00:00
2010-03-30 22:02:32 +09:00
2011-03-15 16:02:27 +00:00
2011-03-15 16:02:22 +00:00
2010-10-15 15:53:27 +02:00
2010-06-17 09:56:57 +00:00
2010-03-07 10:30:57 +00:00
2009-06-18 07:30:57 +00:00
2011-01-12 13:51:29 +00:00
2011-03-15 16:02:27 +00:00
2010-12-02 14:10:16 +00:00
2011-03-15 16:02:27 +00:00
2011-03-15 16:02:39 +00:00
2010-03-07 10:30:57 +00:00
2010-03-07 10:30:57 +00:00
2011-03-17 17:09:29 -07:00
2011-03-29 11:05:48 +00:00
2010-10-15 15:53:27 +02:00
2011-03-15 16:02:27 +00:00
2011-01-12 10:23:04 +00:00
2011-02-28 13:22:46 -07:00
2010-03-07 10:30:57 +00:00
2011-03-15 16:02:22 +00:00
2011-03-15 16:02:22 +00:00
2010-03-07 10:30:57 +00:00
2010-03-30 22:02:32 +09:00
2010-12-14 09:54:19 +01:00
2010-03-07 10:30:57 +00:00
2011-03-15 16:02:06 +00:00
2011-03-15 16:02:06 +00:00
2009-09-18 08:39:37 +00:00
2011-03-15 16:02:27 +00:00
2011-03-15 16:02:27 +00:00
2010-05-25 09:05:56 +00:00
2008-05-28 11:51:32 +00:00
2011-04-26 12:50:44 +00:00
2010-03-07 10:30:57 +00:00
2010-03-07 10:30:57 +00:00
2011-03-15 16:01:57 +00:00
2011-03-31 11:26:23 -03:00
2011-01-12 10:24:52 +00:00
2011-02-08 15:07:45 +10:00
2011-03-15 16:02:27 +00:00
2011-03-31 11:26:23 -03:00
2011-03-29 11:05:48 +00:00
2010-03-07 10:30:57 +00:00
2011-05-18 12:32:23 -06:00
2011-03-15 16:02:27 +00:00
2011-03-15 16:02:27 +00:00
2010-03-07 10:30:57 +00:00
2010-03-30 22:02:32 +09:00
2011-03-29 11:06:04 +00:00
2011-01-12 13:51:23 +00:00
2010-10-29 19:08:42 +01:00
2010-08-05 13:26:22 +01:00
2011-03-10 22:40:05 -07:00
2011-03-15 16:02:27 +00:00
2009-06-08 13:05:00 -04:00
2011-03-31 11:26:23 -03:00
2011-03-15 16:02:22 +00:00
2010-05-20 13:21:38 -07:00
2010-03-07 10:30:57 +00:00
2010-04-03 22:22:20 +00:00
2010-05-25 09:03:52 +00:00
2011-03-29 11:05:48 +00:00
2010-03-07 10:30:57 +00:00
2011-03-23 10:41:57 +01:00
2011-02-28 13:22:46 -07:00
2011-03-29 11:05:28 +00:00
2009-07-09 18:29:38 +00:00
2010-09-15 18:43:47 +00:00
2009-06-18 07:30:30 +00:00
2011-03-31 11:26:23 -03:00
2011-03-15 16:02:27 +00:00
2011-03-01 15:47:58 +01:00
2011-03-15 16:02:27 +00:00
2009-03-25 09:07:04 +00:00
2009-09-18 08:39:37 +00:00
2011-03-31 11:26:23 -03:00
2009-06-18 07:30:57 +00:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-29 11:56:22 +00:00
2011-03-31 11:26:23 -03:00
2011-03-29 11:05:57 +00:00
2011-01-12 13:51:16 +00:00
2010-03-07 10:30:57 +00:00
2011-03-15 16:02:27 +00:00
2010-05-25 09:05:46 +00:00
2010-03-07 10:30:59 +00:00
2011-01-12 10:23:52 +00:00
2009-06-18 07:30:30 +00:00
2011-03-15 16:02:27 +00:00
2008-08-06 13:21:09 +00:00
2010-03-07 10:30:57 +00:00
2008-10-28 19:16:11 +00:00
2009-03-25 09:07:04 +00:00
2010-03-07 10:30:57 +00:00
2008-10-28 19:16:11 +00:00
2011-03-15 16:02:27 +00:00
2011-03-15 16:02:27 +00:00
2011-03-15 16:02:27 +00:00
2010-03-07 10:30:57 +00:00
2010-06-07 15:55:03 +00:00
2011-03-15 16:02:18 +00:00