linux/drivers/cdrom
Akinobu Mita 3c3f4e012a cdrom: cleanup hardcoded error-code
This patch eliminates hardcoded return value of register_cdrom().

It also changes the return value to -EINVAL.
It is more appropriate than -2 (-ENOENT) because it is only
happen invalid usage of register_cdrom() by broken cdrom driver.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2008-04-21 09:50:07 +02:00
..
cdrom.c cdrom: cleanup hardcoded error-code 2008-04-21 09:50:07 +02:00
gdrom.c cdrom: Add support for Sega Dreamcast GD-ROM. 2008-01-28 13:19:04 +09:00
Makefile cdrom: Add support for Sega Dreamcast GD-ROM. 2008-01-28 13:19:04 +09:00
viocd.c [POWERPC] iSeries: Fix section mismatch in viocd 2008-02-06 16:30:00 +11:00