driver model: make sure device has driver when we add it to the class.
There is a chance devclass_add_device() could get passed a device with no driver, so we need to check that.
Showing
Please register or sign in to comment
There is a chance devclass_add_device() could get passed a device with no driver, so we need to check that.