Aybuke Ozdemir 1002a240ed 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 <aybuke.147@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-10-23 14:10:49 +08:00
..
2014-10-20 10:30:13 +08:00
2014-07-30 17:18:47 -07:00
2014-09-28 22:03:58 -04:00
2014-10-20 11:27:52 +08:00
2014-10-20 10:30:15 +08:00
2014-10-20 10:30:15 +08:00