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)
commit0fab63c7b868a3ee8066114fabb25e108c38c3ce
tree1373a113294c5988e48acad20abb64abd8f3f498
parent410fa00a96bfa33cc0f053ddf24ab76f61b88bc9
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