Do manual traversing of drivers' devices list when unbinding the driver.
driver_unbind was called when drv->refcount == 0. It would call driver_for_each_dev to do the unbinding The first thing that would do was get_device, which... BUG()'d if drv->refcount == 0. Duh.
Showing
Please register or sign in to comment