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 5CB50C46467 for ; Tue, 3 Jan 2023 12:50:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237694AbjACMt7 (ORCPT ); Tue, 3 Jan 2023 07:49:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41892 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237669AbjACMtu (ORCPT ); Tue, 3 Jan 2023 07:49:50 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5906033B; Tue, 3 Jan 2023 04:49:49 -0800 (PST) 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)) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 81F7B6602CF9; Tue, 3 Jan 2023 12:49:47 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1672750188; bh=Dav1vDwLoGDp9ZF7vLWHeFVk9edqKnGsWzKrSp/svGY=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=i+SKhCQ024xh1rUDOqBBXtkiV5DLj3fCCNygvxSNoD/zWtwQ2J903Mt9EY0ihR3az kqN6BFFewFv3rUb6WmaRVao7uK2eqd2s//7EAp1VftO4TB3z0PZwTPPiu1iK7DL2Ez YDW+GVcxPRPyXOSCZXEWRDyyyKVlYiLyS0G3oVlu87684cBfvE4H+tV7xQsqFHbrVA ys5wtjCZaJMtJWCYHEuoIMYjYfVFE7+YfA7SziR/EoPzh8MXSm2RcUaNfXvuC//K6q SXXJNeLVcSmqX2cuiXeTXD8xQL6kBh0McVBvKXr4dapR+E0zRAtQlS42DHDRFNWdNB o2XnGSd4uf1RA== Message-ID: <863ea43a-b32f-ae63-d863-6e97f3a67626@collabora.com> Date: Tue, 3 Jan 2023 13:49:45 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: [PATCH v1 07/13] soc: mtk-svs: mt8183: refactor o_slope calculation Content-Language: en-US To: Roger Lu , Matthias Brugger , Enric Balletbo Serra , Kevin Hilman , Nicolas Boichat Cc: Fan Chen , Jia-wei Chang , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Project_Global_Chrome_Upstream_Group@mediatek.com References: <20221226094248.4506-1-roger.lu@mediatek.com> <20221226094248.4506-8-roger.lu@mediatek.com> From: AngeloGioacchino Del Regno In-Reply-To: <20221226094248.4506-8-roger.lu@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 26/12/22 10:42, Roger Lu ha scritto: > The o_slope value is dependent of the o_slope_sign, refactor code to get > rid of unnecessary if constructs. > > Signed-off-by: Matthias Brugger > Signed-off-by: Roger Lu Reviewed-by: AngeloGioacchino Del Regno