OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e691009
)
drm/sti: sti_vdo: clean up drm_bridge_add call
author
Inki Dae
<inki.dae@samsung.com>
Mon, 3 Jul 2017 08:42:30 +0000
(17:42 +0900)
committer
Archit Taneja
<architt@codeaurora.org>
Mon, 21 Aug 2017 03:19:38 +0000
(08:49 +0530)
This patch removes unnecessary checking of return value.
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Link:
https://patchwork.freedesktop.org/patch/msgid/1499071350-25168-15-git-send-email-inki.dae@samsung.com
drivers/gpu/drm/sti/sti_dvo.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/sti/sti_dvo.c
b/drivers/gpu/drm/sti/sti_dvo.c
index
852bf22
..
83314ae
100644
(file)
--- a/
drivers/gpu/drm/sti/sti_dvo.c
+++ b/
drivers/gpu/drm/sti/sti_dvo.c
@@
-463,11
+463,7
@@
static int sti_dvo_bind(struct device *dev, struct device *master, void *data)
bridge->driver_private = dvo;
bridge->funcs = &sti_dvo_bridge_funcs;
bridge->of_node = dvo->dev.of_node;
- err = drm_bridge_add(bridge);
- if (err) {
- DRM_ERROR("Failed to add bridge\n");
- return err;
- }
+ drm_bridge_add(bridge);
err = drm_bridge_attach(encoder, bridge, NULL);
if (err) {