From: Fabio Estevam Date: Sat, 9 Jul 2016 21:57:44 +0000 (-0300) Subject: drm/imx: imx-tve: remove unneeded 'or' operation X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ae8308b236437e596d3154c7565b9fc72d469e9a;p=linux-beck.git 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 --- 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; }