Commit ae8308b2 authored by Fabio Estevam's avatar Fabio Estevam Committed by Philipp Zabel

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: default avatarFabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
parent deb65870
...@@ -585,7 +585,7 @@ static int imx_tve_bind(struct device *dev, struct device *master, void *data) ...@@ -585,7 +585,7 @@ static int imx_tve_bind(struct device *dev, struct device *master, void *data)
&tve->di_hsync_pin); &tve->di_hsync_pin);
if (ret < 0) { if (ret < 0) {
dev_err(dev, "failed to get vsync pin\n"); dev_err(dev, "failed to get hsync pin\n");
return ret; return ret;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment