On 05-02-20, 15:32, Dan Carpenter wrote: > We can't call kfree(dev) after calling device_register(dev). The "dev" > pointer has to be freed using put_device(). Applied, thanks -- ~Vinod
On 05-02-20, 15:32, Dan Carpenter wrote: > We can't call kfree(dev) after calling device_register(dev). The "dev" > pointer has to be freed using put_device(). Applied, thanks -- ~Vinod