diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2018-02-11 15:07:38 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2018-03-01 09:09:10 +0200 |
commit | 6b06df832f82946825aa1d81e1e64041d33570f0 (patch) | |
tree | bff19764fc100842d3fd5dffa45ab980393cce5c /drivers/gpu/drm/omapdrm/displays/panel-tpo-td028ttec1.c | |
parent | 1a5d98a7de05fe6181aae60ce82591d711f08bc2 (diff) | |
download | linux-next-6b06df832f82946825aa1d81e1e64041d33570f0.tar.gz |
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>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/displays/panel-tpo-td028ttec1.c')
-rw-r--r-- | drivers/gpu/drm/omapdrm/displays/panel-tpo-td028ttec1.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/omapdrm/displays/panel-tpo-td028ttec1.c b/drivers/gpu/drm/omapdrm/displays/panel-tpo-td028ttec1.c index 2721a86ac5e7..3f6c90db35c4 100644 --- a/drivers/gpu/drm/omapdrm/displays/panel-tpo-td028ttec1.c +++ b/drivers/gpu/drm/omapdrm/displays/panel-tpo-td028ttec1.c @@ -404,9 +404,6 @@ static int td028ttec1_panel_probe(struct spi_device *spi) ddata->spi_dev = spi; - if (!spi->dev.of_node) - return -ENODEV; - r = td028ttec1_probe_of(spi); if (r) return r; |