driver model: use list_for_each_safe() when removing devices from a driver.
Duh: in driver_detach(), one of the first things we do is remove the device from the driver's list of devices. So, we obviously cannot use ->next.
Showing
Please register or sign in to comment