diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2018-02-11 15:07:37 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2018-03-01 09:09:10 +0200 |
commit | 1a5d98a7de05fe6181aae60ce82591d711f08bc2 (patch) | |
tree | 84f62688a59ebb1f4497533941e88ffba9d22b28 /drivers/gpu/drm/omapdrm/displays/encoder-opa362.c | |
parent | ae9f7a57964ecac3314947b26dbf8da20bafe5b3 (diff) | |
download | talos-obmc-linux-1a5d98a7de05fe6181aae60ce82591d711f08bc2.tar.gz talos-obmc-linux-1a5d98a7de05fe6181aae60ce82591d711f08bc2.zip |
drm: omapdrm: displays: Remove OF node check in encoder drivers
No encoder 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>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/displays/encoder-opa362.c')
-rw-r--r-- | drivers/gpu/drm/omapdrm/displays/encoder-opa362.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/gpu/drm/omapdrm/displays/encoder-opa362.c b/drivers/gpu/drm/omapdrm/displays/encoder-opa362.c index d523c67a3ae3..b424db11c6d5 100644 --- a/drivers/gpu/drm/omapdrm/displays/encoder-opa362.c +++ b/drivers/gpu/drm/omapdrm/displays/encoder-opa362.c @@ -179,11 +179,6 @@ static int opa362_probe(struct platform_device *pdev) dev_dbg(&pdev->dev, "probe\n"); - if (node == NULL) { - dev_err(&pdev->dev, "Unable to find device tree\n"); - return -EINVAL; - } - ddata = devm_kzalloc(&pdev->dev, sizeof(*ddata), GFP_KERNEL); if (!ddata) return -ENOMEM; |