driver model: add per-class rwsem and protect list accesses with it.
This is similar to struct bus_type's rwsem, though classes aren't doing anything nearly as fancy with it. We just make sure to take it when ever we add or remove any devices or drivers.
Showing
Please register or sign in to comment