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