]> git.baikalelectronics.ru Git - kernel.git/commit
drm: rcar-du: Remove test for impossible error condition
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Mon, 3 Oct 2016 14:40:20 +0000 (17:40 +0300)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Mon, 14 Nov 2016 01:35:13 +0000 (03:35 +0200)
commitd251cdfc503bb430d3587cde02f958e9a47556b9
tree1373a113294c5988e48acad20abb64abd8f3f498
parent1a449526e8be2cf43537cb19bca534c3212914cd
drm: rcar-du: Remove test for impossible error condition

The driver has lost platform data support a long time ago. R-Car DU
devices can only be instantiated through DT now, making it impossible to
have a NULL DT node pointer. Remove the error check.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
drivers/gpu/drm/rcar-du/rcar_du_drv.c