From ae8308b236437e596d3154c7565b9fc72d469e9a Mon Sep 17 00:00:00 2001 From: Fabio Estevam Date: Sat, 9 Jul 2016 18:57:44 -0300 Subject: [PATCH] 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 Signed-off-by: Philipp Zabel --- drivers/gpu/drm/imx/imx-tve.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5