drm: omapdrm: displays: Remove OF node check in panel drivers
No panel is instantiated through platform data anymore, there is no need to check for OF node presence. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
This commit is contained in:

committad av
Tomi Valkeinen

förälder
1a5d98a7de
incheckning
6b06df832f
@@ -268,9 +268,6 @@ static int sharp_ls_probe(struct platform_device *pdev)
|
||||
|
||||
platform_set_drvdata(pdev, ddata);
|
||||
|
||||
if (!pdev->dev.of_node)
|
||||
return -ENODEV;
|
||||
|
||||
r = sharp_ls_probe_of(pdev);
|
||||
if (r)
|
||||
return r;
|
||||
|
Referens i nytt ärende
Block a user