fbdev: exynos: fix IS_ERR_VALUE usage
authorAndrzej Hajda <a.hajda@samsung.com>
Mon, 15 Feb 2016 14:35:24 +0000 (15:35 +0100)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 16 Feb 2016 13:35:12 +0000 (15:35 +0200)
commitf059c4b220b821f8ed7b1b12387cce86373f666e
tree6a6797f94fcf293e2b39337a3d9f12c561e70318
parent206fc20598157ce15597822cf01b94377e30075b
fbdev: exynos: fix IS_ERR_VALUE usage

IS_ERR_VALUE macro should be used only with unsigned long type.
For signed types comparison 'ret < 0' should be used.

The patch follows conclusion from discussion on LKML [1][2].

[1]: http://permalink.gmane.org/gmane.linux.kernel/2120927
[2]: http://permalink.gmane.org/gmane.linux.kernel/2150581

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/exynos/exynos_mipi_dsi.c