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:
d341a64
)
drm/bridge: synopsys: dw-hdmi: clean up drm_bridge_add call
author
Inki Dae
<inki.dae@samsung.com>
Mon, 3 Jul 2017 08:42:25 +0000
(17:42 +0900)
committer
Archit Taneja
<architt@codeaurora.org>
Thu, 6 Jul 2017 08:46:32 +0000
(14:16 +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:
http://patchwork.freedesktop.org/patch/msgid/1499071350-25168-10-git-send-email-inki.dae@samsung.com
drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
index
ead1124
..
de1308b
100644
(file)
--- a/
drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
+++ b/
drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
@@
-2485,17
+2485,12
@@
int dw_hdmi_probe(struct platform_device *pdev,
const struct dw_hdmi_plat_data *plat_data)
{
struct dw_hdmi *hdmi;
- int ret;
hdmi = __dw_hdmi_probe(pdev, plat_data);
if (IS_ERR(hdmi))
return PTR_ERR(hdmi);
- ret = drm_bridge_add(&hdmi->bridge);
- if (ret < 0) {
- __dw_hdmi_remove(hdmi);
- return ret;
- }
+ drm_bridge_add(&hdmi->bridge);
return 0;
}