Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752165AbdFUGdx (ORCPT ); Wed, 21 Jun 2017 02:33:53 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:38518 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752116AbdFUGdu (ORCPT ); Wed, 21 Jun 2017 02:33:50 -0400 X-AuditID: b6c32a36-f79db6d000001a5e-d3-594a134bee99 From: Hoegeun Kwon To: inki.dae@samsung.com, jy0922.shim@samsung.com, sw0312.kim@samsung.com, airlied@linux.ie, kgene@kernel.org, krzk@kernel.org Cc: javier@osg.samsung.com, a.hajda@samsung.com, tjakobi@math.uni-bielefeld.de, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Hoegeun Kwon Subject: [PATCH v3] drm/exynos/dsi: Remove error handling for bridge_node DT parsing Date: Wed, 21 Jun 2017 15:33:32 +0900 Message-id: <1498026812-18539-1-git-send-email-hoegeun.kwon@samsung.com> X-Mailer: git-send-email 1.9.1 X-Brightmail-Tracker: H4sIAAAAAAAAAzWSe0gUURTGuzM7s6O5Nq5ZF3ttE/2htNvOuuooGmklU5lJQWhlNunNldxd 2VmlgtKIpNRSi0hKIVQUH2msplb0sszs4ZaKkpVZRmSW9toeUNGsY/9995zfOefj8lG4epTw p9ItdmSzCBkM6alovR2wXLved12ivvqRkRtq7CG44z3dGNfvmiS5yZp8kjv5sljBffjYgHHv hp8ouKLRcZxzOi8qOcfoAMH1XSkjuVLndYwrPTVGcnn1n4iV3ryj7hjJt30fIfiXBV0Y31yV w/+9q+Rbil4o+RMtdYD/6lgYT21FESYkpCKbBllSrKnplrRIZv3m5FXJwSF6VsuGcaGMxiKY USSzOjZeG5OeIdlmNNlCRpZUihdEkVm+IsJmzbIjjckq2iOZbSxr0LH6UJ3BYNAZg5LCDcES shOZmipgZi21t7X0G8gFE2Q+oChIG2Hjy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BYB VYkzR18DdXNw8Ap4SJxZ7AexTk7i5LHJrBMYuRcwMqxi5EotKM5Nzy02KjDcxAgM9G2Htfx3 MP44G32IUYCDUYmHl0HRM1KINbGsuDL3EKMEB7OSCK8/r1ekEG9KYmVValF+fFFpTmrxIUZT oI0TmaVEk/OBUZhXEm9oYmlkYmBmZmhkYGymJM47IfBLhJBAemJJanZqakFqEUwfEwenVAPj QtsvF/t1Sl759K9kNzx9Y0U908dZ7vN8TvtZhVpsdJ5lMiv+3f87Z3jf3miuffjxsdHnXm+D 3jn9eXl6762eCUmuX8thl3At7vPDjkKBbTe4s05MDbnOcDA06WWk3iSLGs9FebeutOlarT2T t/zKrcmz7izwu1j0/j+DndLhPO292t7H6+LTlFiKMxINtZiLihMBcVs4l4oCAAA= X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170621063347epcas1p46d2ccf5edbedc5386222c0fce3b2523a X-Msg-Generator: CA X-Sender-IP: 182.195.42.79 X-Local-Sender: =?UTF-8?B?6raM7ZqM6re8G1RpemVuIFBsYXRmb3JtIExhYihTL1fshLw=?= =?UTF-8?B?7YSwKRvsgrzshLHsoITsnpAbRW5naW5lZXI=?= X-Global-Sender: =?UTF-8?B?SG9lZ2V1biBLd29uG1RpemVuIFBsYXRmb3JtIExhYi4bU2Ft?= =?UTF-8?B?c3VuZyBFbGVjdHJvbmljcxtFbmdpbmVlcg==?= X-Sender-Code: =?UTF-8?B?QzEwG1RFTEUbQzEwVjgxMTE=?= CMS-TYPE: 101P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20170621063347epcas1p46d2ccf5edbedc5386222c0fce3b2523a X-RootMTR: 20170621063347epcas1p46d2ccf5edbedc5386222c0fce3b2523a References: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1024 Lines: 39 Remove the error handling of bridge_node because the bridge_node is optionally. For example, In case of Exynos SoC, a bridge device such as mDNIe and MIC could be placed between Display Controller and MIPI DSI device but the bridge device is optionally. Signed-off-by: Hoegeun Kwon --- Hi all, Changes for V3: - Removed the word('required') from commit message. Changes for V2: - Modified the commit message in more detail than before. Best regards, Hoegeun drivers/gpu/drm/exynos/exynos_drm_dsi.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_dsi.c b/drivers/gpu/drm/exynos/exynos_drm_dsi.c index a11b795..6ee0dac 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_dsi.c +++ b/drivers/gpu/drm/exynos/exynos_drm_dsi.c @@ -1651,8 +1651,6 @@ static int exynos_dsi_parse_dt(struct exynos_dsi *dsi) return ret; dsi->bridge_node = of_graph_get_remote_node(node, DSI_PORT_IN, 0); - if (!dsi->bridge_node) - return -EINVAL; return 0; } -- 1.9.1