[PATCH] drm/tve200: Check for IS_ERR instead of NULL in probe
Linus Walleij
linus.walleij at linaro.org
Sat Sep 30 23:32:38 UTC 2017
On Mon, Sep 25, 2017 at 12:25 PM, Dan Carpenter
<dan.carpenter at oracle.com> wrote:
> 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 at oracle.com>
Patch applied.
Yours,
Linus Walleij
More information about the dri-devel
mailing list