Alexey Khoroshilov 79f18a0637 ide-tape: fix misprint in failure handling in idetape_init()
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 <khoroshilov@ispras.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-07-26 15:25:30 -07:00
..
2016-07-26 15:25:30 -07:00
2015-04-17 15:32:07 -04:00
2013-11-14 18:21:25 -05:00
2011-03-09 19:54:27 +01:00
2015-05-05 13:40:42 -06:00
2009-03-27 12:46:34 +01:00
2009-05-17 19:12:25 +02:00
2015-05-05 13:40:42 -06:00
2015-03-27 11:59:22 -04:00
2010-01-19 11:30:09 -08:00
2016-01-18 14:12:33 -05:00
2016-01-18 14:12:33 -05:00
2015-04-14 13:07:17 -04:00
2015-04-14 13:07:17 -04:00
2013-01-03 15:57:03 -08:00
2016-01-18 14:12:33 -05:00