From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 53590ECAAD3 for ; Mon, 19 Sep 2022 08:05:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229813AbiISIFe (ORCPT ); Mon, 19 Sep 2022 04:05:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47630 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229985AbiISIFX (ORCPT ); Mon, 19 Sep 2022 04:05:23 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 743E812D2C for ; Mon, 19 Sep 2022 01:04:53 -0700 (PDT) Received: from [192.168.1.100] (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 3D13F6601AAA; Mon, 19 Sep 2022 09:04:50 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1663574691; bh=AxmpGgtft9fTu7bm6VSK/NdXOjH/7AO58c7gygKahWg=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=mT/ZoHOtPw16Hdhvw+HFPR3L1c7Q/vmd8/ck+evhjxIRCTFttlLxjm/i2pBa0XOgq fjsbHOy2Ou+KhIpaSxoCU4o0Jp3CDH/jT4/0+P8dif7+2w0PopCKoFA8E2r5tx91ch cPebNjiHhEMFYoGoVusYcDC89SSmslLR+GzkY3GiIKjAAJ8/siqgJTXHTcrD9j2Oj0 vMMe2SFGvqwLswUK6m2MQMziKdY21kdjGHWgAtZJ0KQUbbiAo9V6ftxZocCjbwX8A3 PVYiLr3uOe+Es6PxcC/0CxyKjWjiAqBtQxEnuuW03rxnjQ/4oqk7awac1dAuS5VDJK NV1Qm0c+YV9ww== Message-ID: <2a394e37-ac3c-77ad-d482-e36bd1ab3346@collabora.com> Date: Mon, 19 Sep 2022 10:04:47 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.0 Subject: Re: [PATCH v2 1/3] drm/mediatek: dp: Reduce indentation in mtk_dp_bdg_detect() To: Bo-Chen Chen , chunkuang.hu@kernel.org, p.zabel@pengutronix.de, airlied@linux.ie Cc: matthias.bgg@gmail.com, granquet@baylibre.com, daniel@ffwll.ch, jitao.shi@mediatek.com, ck.hu@mediatek.com, liangxu.xu@mediatek.com, dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Project_Global_Chrome_Upstream_Group@mediatek.com References: <20220916133821.27980-1-rex-bc.chen@mediatek.com> <20220916133821.27980-2-rex-bc.chen@mediatek.com> Content-Language: en-US From: AngeloGioacchino Del Regno In-Reply-To: <20220916133821.27980-2-rex-bc.chen@mediatek.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Il 16/09/22 15:38, Bo-Chen Chen ha scritto: > In order to improve human readability, reduce the indentation by > returning early if the dp/edp cable is not plugged in. > > Signed-off-by: Bo-Chen Chen Reviewed-by: AngeloGioacchino Del Regno