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