]> git.baikalelectronics.ru Git - kernel.git/commit
drm: sti: tvout: fix return value check in sti_tvout_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Tue, 26 Aug 2014 10:17:36 +0000 (12:17 +0200)
committerBenjamin Gaignard <benjamin.gaignard@linaro.org>
Tue, 26 Aug 2014 12:16:32 +0000 (14:16 +0200)
commit7ca6c5d0a961a1847f8b3ce4a6ede5756f767ce2
tree2cc36b87ca72b87656b085a6ba64af4040f8910c
parent4bad65ef9f5ee74967adc505e3a688ce08c0df78
drm: sti: tvout: fix return value check in sti_tvout_probe()

In case of error, the function devm_ioremap_nocache() returns NULL
pointer not ERR_PTR(). The IS_ERR() test in the return value check
should be replaced with NULL test.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
drivers/gpu/drm/sti/sti_tvout.c