summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/imx
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@nxp.com>2016-07-09 18:57:44 -0300
committerPhilipp Zabel <p.zabel@pengutronix.de>2016-07-12 18:24:31 +0200
commitae8308b236437e596d3154c7565b9fc72d469e9a (patch)
tree88da05d84d4e9927110d574086621ceaf30cc382 /drivers/gpu/drm/imx
parentdeb65870b5d9d939bb319661dd489272a6de665d (diff)
downloadlinux-ae8308b236437e596d3154c7565b9fc72d469e9a.tar.bz2
drm/imx: imx-tve: remove unneeded 'or' operation
There is no need for doing an extra 'or' operation when reading the return value from of_property_read_u32(). Just do a simple read instead. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/gpu/drm/imx')
-rw-r--r--drivers/gpu/drm/imx/imx-tve.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/imx/imx-tve.c b/drivers/gpu/drm/imx/imx-tve.c
index fe36309e18c1..934be4d2abeb 100644
--- a/drivers/gpu/drm/imx/imx-tve.c
+++ b/drivers/gpu/drm/imx/imx-tve.c
@@ -585,7 +585,7 @@ static int imx_tve_bind(struct device *dev, struct device *master, void *data)
&tve->di_hsync_pin);
if (ret < 0) {
- dev_err(dev, "failed to get vsync pin\n");
+ dev_err(dev, "failed to get hsync pin\n");
return ret;
}