Bartlomiej Zolnierkiewicz 05017db3b3 ide-cd: use ide_cd_release() in ide_cd_probe()
Use ide_cd_release() to do the cleanup if ide_cdrom_setup() fails.

It fixes:
- the default drive->dsc_overlap value not being restored
- the default drive->queue's prep_rq_fn not being restored
- struct gendisk 'g' not being freed
- wrong function name being reported on unregister_cdrom() error

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2007-12-24 15:23:43 +01:00
..
2007-10-20 00:32:32 +02:00
2007-11-27 21:35:57 +01:00
2007-12-24 15:23:42 +01:00
2007-11-27 21:35:55 +01:00
2007-10-20 00:32:32 +02:00
2007-10-20 00:32:31 +02:00
2007-12-12 23:31:57 +01:00