I do not think it's necessary to call device_del() on this path. If the device has been added, put_device() would delete it from sysfs. So the origin error handle is ok with me.
I do not think it's necessary to call device_del() on this path. If the device has been added, put_device() would delete it from sysfs. So the origin error handle is ok with me.