]> err.no Git - linux-2.6/commit
ata: remove FIT() macro
authorHarvey Harrison <harvey.harrison@gmail.com>
Wed, 14 May 2008 23:17:00 +0000 (16:17 -0700)
committerJeff Garzik <jgarzik@redhat.com>
Mon, 19 May 2008 21:30:32 +0000 (17:30 -0400)
commit07633b5d0723ce2ec31262e1096dcf61311bf078
treed7df0c597f64b23d684e9cc492c8ee803acf21a2
parent06aaca3f6301d04463b1ee0eb75c0352147159f2
ata: remove FIT() macro

Use the kernel-provided clamp_val() macro.

FIT was always applied to a member of struct ata_timing (unsigned short)
and two constants.  clamp_val will not cast to short anymore.

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Cc: Jeff Garzik <jeff@garzik.org>
Cc: Tejun Heo <htejun@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/pata_ali.c
drivers/ata/pata_amd.c
drivers/ata/pata_cypress.c
drivers/ata/pata_legacy.c
drivers/ata/pata_ns87410.c
drivers/ata/pata_ns87415.c
drivers/ata/pata_qdi.c
drivers/ata/pata_via.c
drivers/ata/pata_winbond.c
include/linux/libata.h