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