]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
ide-cd: convert driver to new ide debugging macro (v3)
authorBorislav Petkov <petkovbb@googlemail.com>
Mon, 13 Oct 2008 19:39:48 +0000 (21:39 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Mon, 13 Oct 2008 19:39:48 +0000 (21:39 +0200)
commitfc8323f793852ca1fcb58d96512fd71d39af2e9b
treee7fa81758e7f5c416a5261201b34531f76bebdfa
parent2dbe7e919eb696c86790797f8a814bef19a0d50a
ide-cd: convert driver to new ide debugging macro (v3)

Also,

- leave in the possibility for optimizing away all debugging macros
- add a PFX macro and prepend all printk calls with it for consistency
- add debug macro calls in important driver paths
- remove #if 0-ed code
- mv restore_request -> ide_cd_restore_request
- add a driver registration printk

v2:
failed_command can be NULL so check it before accessing it

v3:
fix another NULL ptr in debug statement

There should be no functionality change resulting from this patch.

Signed-off-by: Borislav Petkov <petkovbb@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-cd.c