From: Alexey Khoroshilov <[email protected]>
Date: Sat, 30 Apr 2016 01:11:12 +0300

> If driver_register() failed there is no sense to call driver_unregister().
> unregister_chrdev() should be called here.
> 
> Found by Linux Driver Verification project (linuxtesting.org).
> 
> Signed-off-by: Alexey Khoroshilov <[email protected]>

Applied.

Reply via email to