commit | 44390ef519006b13c8fab9eb13abac909342a585 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Mon Sep 25 13:25:20 2017 +0300 |
committer | Linus Walleij <linus.walleij@linaro.org> | Sun Oct 01 01:29:54 2017 +0200 |
tree | 2abadb1196c9b0c484881578f341b1cdbbae6603 | |
parent | 4ea30958d96b3f997afadeeb9de29e6dea3a80f5 [diff] |
drm/tve200: Check for IS_ERR instead of NULL in probe devm_ioremap_resource() returns error pointer, it never returns NULL on error. Fixes: 179c02fe90a4 ("drm/tve200: Add new driver for TVE200") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Link: https://patchwork.freedesktop.org/patch/msgid/20170925102520.a7spymwqqbsczzz2@mwanda