Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752778AbdFUKvt (ORCPT ); Wed, 21 Jun 2017 06:51:49 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:26910 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750823AbdFUKvr (ORCPT ); Wed, 21 Jun 2017 06:51:47 -0400 X-AuditID: b6c32a2d-f79866d0000012d5-fc-594a4fc09333 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 v4] drm/exynos/dsi: Remove error handling for bridge_node DT parsing Date: Wed, 21 Jun 2017 19:51:43 +0900 Message-id: <1498042303-5673-1-git-send-email-hoegeun.kwon@samsung.com> X-Mailer: git-send-email 1.9.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrMKsWRmVeSWpSXmKPExsWy7bCmuu4Bf69Ig9ntgha31p1jteg9d5LJ 4srX92wW75d3sVlMuj+BxeLN2zVMFi/uXWSx6H/8mtni/PkN7BabHl9jtbi8aw6bxYzz+5gs Zkx+yWbRtvoDqwOfx6ZVnWwe2789YPW4332cyWPzknqPf8fYPbb032X36NuyitHj8ya5AI6o VJuM1MSU1CKF1Lzk/JTMvHRbJe/geOd4UzMDQ11DSwtzJYW8xNxUWyUXnwBdt8wcoLOVFMoS c0qBQgGJxcVK+nY2RfmlJakKGfnFJbZK0YaGRnqGBuZ6RkZGeibGsVZGpkAlCakZZ6ZcYi7o 5axYNG0KSwPjXvYuRk4OCQETiT9dTxkhbDGJC/fWs4HYQgJLGSV+bvSCsD8zSizt5IGpXznn FlMXIxdQfAejxKT191kgn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CAmESd2av BxvLIqAq0fntF9gkXgF3iYO9bWwQ6+QkTh6bzDqBkXsBI8MqRq7UguLc9NxiowKjTYzAUN92 WCtgB2PTuehDjAIcjEo8vAyKnpFCrIllxZW5hxglOJiVRHhPO3tFCvGmJFZWpRblxxeV5qQW H2I0BVo5kVlKNDkfGId5JfGGJpZGJgZmZoZGBsZmSuK8EwK/RAgJpCeWpGanphakFsH0MXFw SjUwypSLWzXInKpcsG/CxvANq/MypJeXnnTnv6FsuUpFq2LP6TtrFQqO+88t+fCzb43+4sh1 uo8Tv8kkHPju5DRlk8qpS2Gq7O+nGvGJNvc26LAm+xUu93r08JdEmd5eiQ3ndu9fYpLqdDcx z13e9d2D1OOaKZN8vq3rOyxd67hPSOam2u3EPN6PSizFGYmGWsxFxYkA2g+yaYsCAAA= X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170621105143epcas5p4b5c7fbbc0263c6190e69df6822e63699 X-Msg-Generator: CA X-Sender-IP: 182.195.42.80 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: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20170621105143epcas5p4b5c7fbbc0263c6190e69df6822e63699 X-RootMTR: 20170621105143epcas5p4b5c7fbbc0263c6190e69df6822e63699 References: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1119 Lines: 44 Remove the error handling of bridge_node because the bridge_node is optional. 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 optional. Signed-off-by: Hoegeun Kwon --- Hi all, Thanks for Krzysztof's advice. Changes for V4: - Fixed the word('optional') from commit message. 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