drivers: staging: dgnc: Replace min with min_t

This patch replaces min with min_t and eliminates
the following warning found by checkpatch.pl:

WARNING: min() should probably be min_t(uint, n, 12)

Signed-off-by: Darshana Padmadas <darshanapadmadas@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Darshana Padmadas 2015-03-08 23:33:39 +05:30 коммит произвёл Greg Kroah-Hartman
Родитель f7d63547ea
Коммит a3d81a379b
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -1203,7 +1203,7 @@ static void neo_copy_data_from_uart_to_queue(struct channel_t *ch)
* IBM pSeries platform.
* 15 bytes max appears to be the magic number.
*/
n = min((uint) n, (uint) 12);
n = min_t(uint, n, 12);
/*
* Since we are grabbing the linestatus register, which