aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/imx/imx-tve.c
diff options
context:
space:
mode:
authorFabio Estevam <[email protected]>2016-07-09 21:57:44 +0000
committerPhilipp Zabel <[email protected]>2016-07-12 16:24:31 +0000
commitae8308b236437e596d3154c7565b9fc72d469e9a (patch)
tree88da05d84d4e9927110d574086621ceaf30cc382 /drivers/gpu/drm/imx/imx-tve.c
parentdrm/imx: imx-tve: check the value returned by regulator_set_voltage() (diff)
downloadkernel-ae8308b236437e596d3154c7565b9fc72d469e9a.tar.gz
kernel-ae8308b236437e596d3154c7565b9fc72d469e9a.zip
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 <[email protected]> Signed-off-by: Philipp Zabel <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/imx/imx-tve.c')
-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;
}