On 20-10-22, 14:28, Yang Yingliang wrote: > If device_register() fails, it should call put_device() to give > up reference, the name allocated in dev_set_name() can be freed > in callback function kobject_cleanup(). Applied, thanks -- ~Vinod
On 20-10-22, 14:28, Yang Yingliang wrote: > If device_register() fails, it should call put_device() to give > up reference, the name allocated in dev_set_name() can be freed > in callback function kobject_cleanup(). Applied, thanks -- ~Vinod