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>
This commit is contained in:
Fabio Estevam 2016-07-09 18:57:44 -03:00 committed by Philipp Zabel
parent deb65870b5
commit ae8308b236

View File

@ -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;
}