From: Aybuke Ozdemir Date: Mon, 20 Oct 2014 22:39:34 +0000 (+0300) Subject: staging: media: omap24xx: Use min_t instead of min X-Git-Tag: omap-for-v3.19/fixes-rc1~73^2~1039 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1002a240ed72f0535f01ca88e0341ccf7c4e0b54;p=pandora-kernel.git staging: media: omap24xx: Use min_t instead of min This patch focuses on fixing the following warning generated by checkpatch.pl for the file tcm825x.c: WARNİNG: min() should probably be min_t(u32, tgt_xclk, TCM825X_XCLK_MAX) The changes were applied using the following coccinelle rule: @@ expression e1, e2; typedef u32; @@ -tgt_xclk = min(e1, (u32)e2); +tgt_xclk = min_t(u32, e1, e2); Signed-off-by: Aybuke Ozdemir Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed