2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-27 14:43:58 +08:00

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