bsg: fix initialization error handling bugs
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Tue, 17 Jul 2007 10:20:46 +0000 (12:20 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 17 Jul 2007 10:20:46 +0000 (12:20 +0200)
This fixes the following bugs and cleans up the initialization code:

- cdev_del is missing.
- unregister_chrdev_region should be used instead of unregister_chrdev.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>

No differences found