Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2133408rwb; Thu, 29 Sep 2022 06:41:30 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7BLbDBl37n1miEv54eD8CADNXtyxPQp/76dXD0TVuXt9MTVZ10E9AFtfNPa00tdF2YaKGE X-Received: by 2002:a17:902:d485:b0:179:e4a2:18c2 with SMTP id c5-20020a170902d48500b00179e4a218c2mr3535266plg.160.1664458890573; Thu, 29 Sep 2022 06:41:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664458890; cv=none; d=google.com; s=arc-20160816; b=YAvmEgB/RZigv+ExkdmSZWRr6Z5V1DvIAhq6KBz8e4UFrL8DDYvvu0VHCap+YHdg7s McZk16115dtRCErwnScm6LstcioCVCMnoJO6W0Vkm6RqyqZvYFQ3bY+bj+dIhbGpKCS7 jjRHioDdjxhZmnst2XuaeSp2Z2DfdM1wYuha9UxYBgqgkC6FSyiQOkKJdbziQ4Xvu3i4 N3atR0wWQO9ID4G+H1Qa3RKpWs3glxVospV4WqdNRYPrBYA4g8sa3Kb3Hm87C50UR5hm v2U6duVnt8i6lJ+ooSCqL1LjRhYKjt1FtpgXj8r4qupU3xuYAtdqKiFayWH2+G0VyZ2L 4zpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=X48j3G+qVEopzjYTA1H5u2rml5Mx/9RCCV/6TZYhcIQ=; b=BSqar+Acr8hVnPiSEF5TBRQWFjy8mxCdxqFaQcvXIxcQ/DqkWRLoDJqe0oGhS1r7Qq izS61uvPBMAw0PiQPhHY92Ku77E7bvwCDwkx/OCu2XA13cc684IT6L3luLk+mrB37/Yg JcKc2tamwWmu/msNbSwPqR6JPoA8BQESrzY12W1tkS/TuSidKhTF5OcvkS54GmVyZHht 34kPInRPJrJ3z+9sRcArI90SyGLbxsXfeoI9iLW2M6YNU6qVf13LrJs1YuCDhhxBrMeU HsmhUz2W5Z2QyBW3spRxN36gSToCmw1Ix8GjF9hrgyssK39TIhBifO3YfUOjLqVstr+U 7O9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hrmIdsn5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id oj5-20020a17090b4d8500b00200ae8c504dsi8198032pjb.65.2022.09.29.06.41.18; Thu, 29 Sep 2022 06:41:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hrmIdsn5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235687AbiI2NcA (ORCPT + 99 others); Thu, 29 Sep 2022 09:32:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48684 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235424AbiI2Nbq (ORCPT ); Thu, 29 Sep 2022 09:31:46 -0400 Received: from mail-lj1-x232.google.com (mail-lj1-x232.google.com [IPv6:2a00:1450:4864:20::232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B7FB137903 for ; Thu, 29 Sep 2022 06:31:40 -0700 (PDT) Received: by mail-lj1-x232.google.com with SMTP id l12so1548164ljg.9 for ; Thu, 29 Sep 2022 06:31:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date; bh=X48j3G+qVEopzjYTA1H5u2rml5Mx/9RCCV/6TZYhcIQ=; b=hrmIdsn5g/FpEqFeKHHnTpfCSNW5C5r4gCEHVeHwVR80GVFbZg97nDgi41R/Xf3Ymu seJNwwjKnFyrmAgj3MKNLgRmGhEByKoLErdEa5A+ZqKkC9tAUD1c3Php845WLUOWrAjq 5ZlItbbiBVyAvLexJw8/YeEBPs4UYnQxHvSSzeGt5jWbcLDFTtLYDxbNNHFoiFOFzm9y fp90/6MsNSvPK1y4kRGgbD0CjwGmTg2k+wqdhLQ/Uzby8fhWkNdV/rsq4WzbE1W2z4lu 8CC0AQf8cN0S6yZfRX9sm4vpUZbxuBgOKFxY+20QItfwWPCSJrb/2AhcvtR8BBiHcv1M gavQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date; bh=X48j3G+qVEopzjYTA1H5u2rml5Mx/9RCCV/6TZYhcIQ=; b=ddfQC9E0jbpN03gd1NJ0lp2sFcT1wltk0/xAeyXSR/wbRosVmu+lkNW1lLiFLvrZ4Q xvYbFLl79Rz5EbJ63Sap005QohWK4/elMG/gX9vppADV6XB4YRLte8ZaFD1lIOo6L+gi CUwIEcIugDQnpX4E/X2wkxMKY4oRPO+4MsUPSAloPbVcVGRohFtvuWGRaDnbiCNv1KRU 4JEMvLLVFfMW0xxn7/xmY2II0MyFCXZdg7NuR294ceBoJXsbHZjUJpiQs1Y5o8WK1LAc EEr+BVlpms1vxjAeinDJhdRE7MX/cuAorPwvuWpetsEPMCEcp4tM+Jl2EXTUZ9MBBk06 lXqg== X-Gm-Message-State: ACrzQf0WiI32HQAZ2EsMidlMjVU2BGOZxgczRhj7hUAtjK1tbWVovQhU ROxfQ32XT3nUfXE77G4B4bYOpg== X-Received: by 2002:a2e:84ca:0:b0:25d:77e0:2566 with SMTP id q10-20020a2e84ca000000b0025d77e02566mr1274760ljh.78.1664458298639; Thu, 29 Sep 2022 06:31:38 -0700 (PDT) Received: from [192.168.1.211] ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id u5-20020ac258c5000000b004a0232613desm784574lfo.205.2022.09.29.06.31.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 29 Sep 2022 06:31:38 -0700 (PDT) Message-ID: <803d6c60-2e10-d831-bbdf-e1aaf9f8800f@linaro.org> Date: Thu, 29 Sep 2022 16:31:37 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.0 Subject: Re: [PATCH v7 13/29] thermal/drivers/qcom: Use generic thermal_zone_get_trip() function Content-Language: en-GB To: Daniel Lezcano , rafael@kernel.org Cc: linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, rui.zhang@intel.com, Raju Rangoju , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Peter Kaestle , Hans de Goede , Mark Gross , Miquel Raynal , Amit Kucheria , Nicolas Saenz Julienne , Broadcom Kernel Team , Florian Fainelli , Ray Jui , Scott Branden , Support Opensource , Lukasz Luba , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Thara Gopinath , Andy Gross , Bjorn Andersson , =?UTF-8?Q?Niklas_S=c3=b6derlund?= , Bartlomiej Zolnierkiewicz , Krzysztof Kozlowski , Alim Akhtar , Thierry Reding , Jonathan Hunter , Eduardo Valentin , Keerthy , Kunihiko Hayashi , Masami Hiramatsu , Antoine Tenart , Srinivas Pandruvada , Dmitry Osipenko , netdev@vger.kernel.org, platform-driver-x86@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-tegra@vger.kernel.org, linux-omap@vger.kernel.org, Konrad Dybcio , Thara Gopinath References: <20220928210059.891387-1-daniel.lezcano@linaro.org> <20220928210059.891387-14-daniel.lezcano@linaro.org> From: Dmitry Baryshkov In-Reply-To: <20220928210059.891387-14-daniel.lezcano@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 29/09/2022 00:00, Daniel Lezcano wrote: > The thermal framework gives the possibility to register the trip > points with the thermal zone. When that is done, no get_trip_* ops are > needed and they can be removed. > > Convert ops content logic into generic trip points and register them with the > thermal zone. > > Signed-off-by: Daniel Lezcano > Acked-by: Amit Kucheria Reviewed-by: Dmitry Baryshkov > --- > drivers/thermal/qcom/qcom-spmi-temp-alarm.c | 39 +++++++++------------ > 1 file changed, 17 insertions(+), 22 deletions(-) > -- With best wishes Dmitry