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)
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>

No differences found