]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
ide: unify conversion macros
authorBorislav Petkov <petkovbb@googlemail.com>
Mon, 13 Oct 2008 19:39:34 +0000 (21:39 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Mon, 13 Oct 2008 19:39:34 +0000 (21:39 +0200)
commit5aeddf907f149cae7e19b7c23ccea3823d00698c
treec3507ed9a078f94bb091ed6557f570927b34f255
parent91ddc9988efeaed487eb7dd81d2557e1b1d501ef
ide: unify conversion macros

Introduce to_ide_drv() and ide_drv_g() macros and replace the respective
definitions of similar ones in each driver.

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
drivers/ide/ide-floppy.c
drivers/ide/ide-tape.c
include/linux/ide.h