Driver core: remove use of rwsem