diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-02-22 01:42:27 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-22 02:22:18 +0100 |
commit | 0c980826211611178b6d76b246d00a4c840f21e5 (patch) | |
tree | 6a5e1b4514e9419fb2407fdb3134ae2c3e1ede41 /include/video/exynos_mipi_dsim.h | |
parent | drivers/video/exynos/s6e8ax0.c: use devm_* APIs in s6e8ax0.c (diff) | |
download | linux-0c980826211611178b6d76b246d00a4c840f21e5.tar.xz linux-0c980826211611178b6d76b246d00a4c840f21e5.zip |
drivers/video/exynos/exynos_mipi_dsi.c: fix an error check condition
Checking an unsigned variable for negative value returns false. Hence use
the macro to fix it.
Fixes the following smatch warning:
drivers/video/exynos/exynos_mipi_dsi.c:417 exynos_mipi_dsi_probe() warn: unsigned 'dsim->irq' is never less than zero.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Donghwa Lee <dh09.lee@samsung.com>
Cc: Inki Dae <inki.dae@samsung.com>
Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/video/exynos_mipi_dsim.h')
0 files changed, 0 insertions, 0 deletions