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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
		}