projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
deb6587
)
drm/imx: imx-tve: remove unneeded 'or' operation
author
Fabio Estevam
<fabio.estevam@nxp.com>
Sat, 9 Jul 2016 21:57:44 +0000
(18:57 -0300)
committer
Philipp 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
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/imx/imx-tve.c
b/drivers/gpu/drm/imx/imx-tve.c
index fe36309e18c111114361e96f37255c3a2f5b1e61..934be4d2abeb359696ca84817a4a7f8d76a57a7e 100644
(file)
--- a/
drivers/gpu/drm/imx/imx-tve.c
+++ b/
drivers/gpu/drm/imx/imx-tve.c
@@
-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
v
sync pin\n");
+ dev_err(dev, "failed to get
h
sync pin\n");
return ret;
}