forked from Minki/linux
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:
parent
deb65870b5
commit
ae8308b236
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user