projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
300238c
)
drm/mediatek: hdmi: clean up drm_bridge_add call
author
Inki Dae
<inki.dae@samsung.com>
Mon, 3 Jul 2017 08:42:29 +0000
(17:42 +0900)
committer
Archit Taneja
<architt@codeaurora.org>
Mon, 21 Aug 2017 03:19:24 +0000
(08:49 +0530)
This patch removes unnecessary checking of return value.
Acked-by: CK Hu <ck.hu@mediatek.com>
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-14-git-send-email-inki.dae@samsung.com
drivers/gpu/drm/mediatek/mtk_hdmi.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/mediatek/mtk_hdmi.c
b/drivers/gpu/drm/mediatek/mtk_hdmi.c
index
690c675
..
3ff5027
100644
(file)
--- a/
drivers/gpu/drm/mediatek/mtk_hdmi.c
+++ b/
drivers/gpu/drm/mediatek/mtk_hdmi.c
@@
-1696,11
+1696,7
@@
static int mtk_drm_hdmi_probe(struct platform_device *pdev)
hdmi->bridge.funcs = &mtk_hdmi_bridge_funcs;
hdmi->bridge.of_node = pdev->dev.of_node;
- ret = drm_bridge_add(&hdmi->bridge);
- if (ret) {
- dev_err(dev, "failed to add bridge, ret = %d\n", ret);
- return ret;
- }
+ drm_bridge_add(&hdmi->bridge);
ret = mtk_hdmi_clk_enable_audio(hdmi);
if (ret) {