cdrom: use list_head for cdrom_device_info list
authorAkinobu Mita <akinobu.mita@gmail.com>
Wed, 26 Mar 2008 11:09:02 +0000 (12:09 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 21 Apr 2008 07:50:08 +0000 (09:50 +0200)
commit7fd097d42b90afadae4867db5d580bcd7b3b596d
tree707e1b8ff7af5e298bd3208d4daeda089a6e93e7
parent032d8d90ba23e1770604bbb1102ec77f5aa8ae44
cdrom: use list_head for cdrom_device_info list

Use list_head for cdrom_device_info list instead of opencoded
singly list handling.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/cdrom/cdrom.c
include/linux/cdrom.h