]> git.karo-electronics.de Git - linux-beck.git/commitdiff
drm/imx: imx-tve: remove unneeded 'or' operation
authorFabio Estevam <fabio.estevam@nxp.com>
Sat, 9 Jul 2016 21:57:44 +0000 (18:57 -0300)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 12 Jul 2016 16:24:31 +0000 (18:24 +0200)
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>
drivers/gpu/drm/imx/imx-tve.c

index fe36309e18c111114361e96f37255c3a2f5b1e61..934be4d2abeb359696ca84817a4a7f8d76a57a7e 100644 (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;
                }