drm/exynos: mic: clean up drm_bridge_add call
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-13-git-send-email-inki.dae@samsung.com
This commit is contained in:
parent
8513945527
commit
059e3c0b2f
@ -456,11 +456,7 @@ static int exynos_mic_probe(struct platform_device *pdev)
|
||||
mic->bridge.funcs = &mic_bridge_funcs;
|
||||
mic->bridge.of_node = dev->of_node;
|
||||
|
||||
ret = drm_bridge_add(&mic->bridge);
|
||||
if (ret) {
|
||||
DRM_ERROR("mic: Failed to add MIC to the global bridge list\n");
|
||||
return ret;
|
||||
}
|
||||
drm_bridge_add(&mic->bridge);
|
||||
|
||||
pm_runtime_enable(dev);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user