From: Harvey Harrison Date: Tue, 15 Jul 2008 19:21:41 +0000 (+0200) Subject: ide: eliminate FIT() macro X-Git-Tag: v2.6.27-rc1~1078^2~77 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6cddd3cac6650f273a2595c9f403aacee01ab05;p=pandora-kernel.git ide: eliminate FIT() macro Replace the FIT() macro with the kernel-provided clamp_val() macro. FIT was always being called with a member of a struct ide_timing, which are shorts, and constant constraints for the min and max. Thus we can use clamp_val, rather than clamp_t. Signed-off-by: Harvey Harrison Signed-off-by: Andrew Morton Signed-off-by: Bartlomiej Zolnierkiewicz --- Reading git-diff-tree failed