Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp3109478lqt; Tue, 23 Apr 2024 10:29:50 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUjSC1TrvEVeMWIzk0VGGFhZPjvX+zUltiC+iQmGlLDH3Wwj4sobanX8BKgA88EGvOKCUnzqm568fvrFdrPlJEC5akenJ0QNtzb/TXuYg== X-Google-Smtp-Source: AGHT+IEBNVycHY1XLS+n1waA7SAN/frAJCks8WQUvsCpY4GyJcq8xOfOL1dTh+0d2iai2hWojJ/W X-Received: by 2002:a05:6a21:8015:b0:1ac:5040:2a72 with SMTP id ou21-20020a056a21801500b001ac50402a72mr19903pzb.59.1713893389968; Tue, 23 Apr 2024 10:29:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713893389; cv=pass; d=google.com; s=arc-20160816; b=ZUjOLmdE49HJIFA1qZnvkHGl+5pvLwIqMjktXdXzor/46B905gary5Hdl83CkwlWKX WcFE3uf1ezDohGdk/Q+5Gn3LU5YigFRZbG2xK5tTTfP+T6/QqJxCLHu6vPDnGwFjeaL3 TrwiXEXpFveFeJ3CuHnc/FGRRrY4oGUP2sF8RPdaFc9tn8QQS/a5VB/3OmSUW8fe68U3 fqh4gc2+y+7wSpQSzTytAyowSz6XgUar0velOfHM+Sytpod5NikWFAZZz1lTtvzcQ6Hc kWLN7SGuXRTnksdzjMchxnhJTede7yyUWL9tqGfV4ma18nBx/osO2rjhoTI/GVJ9rUmH qDDQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=JOdb1YNU/eES1eqDg9jHW4pq0a/HP130WOY7nHDU8hA=; fh=7ScwuEoqpr+ZNK4Z60w3i5AVwGdoOahnHf1ln+4gLMs=; b=VJEY3zCkJCpZOm8/fW0FzQCy+SeCDc3CDv41Ad7eAZr4X6Makje2D4CO6ZE5kJXAWU 5kkQuLQ6g+/6x+iYvXm9W0xbHhV3xNrWZVjzRX91s3yot3ucNemHD2L9Q6oDZUzMxmq3 jtNm28ejb4JV7hofNbVvxC9KAbyFU8X+2s07+DrqND8W0HQznBusbqV9HfcivjpDzmKm HaM9ZjPBthcGVpZCk5fDrWJPY6hqmn87T4HHnsSXqFD78UqK8Sv1qJFBGp91z/Bw8Cxy T1wVeep5Q6Bv2mNHjzithYZDWV5jdVCi7Au1SMPbd8Y1kKYjpIZh6dRXlxLhKOo7qBek m5eg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="UR1mf/ec"; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-155629-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-155629-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id e26-20020a65689a000000b005dbd83521fasi9130947pgt.883.2024.04.23.10.29.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Apr 2024 10:29:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-155629-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="UR1mf/ec"; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-155629-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-155629-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 75F79B27C94 for ; Tue, 23 Apr 2024 17:07:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C074413D8BB; Tue, 23 Apr 2024 17:05:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="UR1mf/ec" Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5BAE813C9C9 for ; Tue, 23 Apr 2024 17:05:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713891955; cv=none; b=HCSA3VWS+XCo20Qtftp/WHwmc2oyH+gOSZMxcMtBD26mHwWPxE0SAJUgqSQSYlCOhpc7hulvjcTbg2Y1WRTfgMsGYgrx9vDKFnuINp2BK6qnSfZwK/QHU3F17WQ1fn2lOHDYQqc0FxoeRo9cRnKZfEXF1t25t0fpxazKmXURa/A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713891955; c=relaxed/simple; bh=cZfiLnwLrrCB4XhSu4sOa3jNqCVrSjDlUHrFtzpEUCU=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=QA7stZ79aAav7E7koRFkMxM5tAY0iULIQtLAsijPE2f42KsHkpVQeBJbeSqv01G0N6bwa7ZaV+f24DOUiEW5Vt+/LbFmomM23+Sy1nNq62ryhVr7vCj62ThnFB6/ZOSvtJlnRvu5+gxDOLcg5HjuzD7HoMg+buaUbGDxjhRGZ0Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=UR1mf/ec; arc=none smtp.client-ip=209.85.128.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-41adf3580dbso424545e9.0 for ; Tue, 23 Apr 2024 10:05:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713891953; x=1714496753; darn=vger.kernel.org; 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:message-id:reply-to; bh=JOdb1YNU/eES1eqDg9jHW4pq0a/HP130WOY7nHDU8hA=; b=UR1mf/ec7v7Iu9ou9/YyWgOmT3xTCT9OFUqE70wvdnkEaNvvaGaOrkNtau/05mLlDe K3l+SbuylGjlF7iii1lv9HLZ3qB/4LccTacDg9FPGDwwzd9q56DfNne4Fc3pRFOPDR7l JqNBhSPx2wqfR39NWpy8agdqWhONeeQyg0LNm9glsBxTYVjChjnTL2s1lwSeQ4DWiuLU xwVidIJsNjS4++/fetmkyi4YupOEJl/J0zwfpaaz4Lzxh6aI8eoPktpKYC7lSo/7PNeR t4Sn5KQJfcaQU5ihl7/qzDKMK8A3UDZ7q9IQG69B3+41phJctdAeSx129iN4CRznyUpW exfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713891953; x=1714496753; 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:message-id:reply-to; bh=JOdb1YNU/eES1eqDg9jHW4pq0a/HP130WOY7nHDU8hA=; b=V76DrcPmS7xQ/S+ASTbTUn6TKQjhjNM6UH9hgb/AoGR3wWBsf4Q82Md2siChTZ/k7b NmiZ2zdoQDejh4oZMql7uSjtVHuU8odK6p2sMVB6AJd0n4OKFLbxf8ZvChEYpN+LoLRx eyUwh+xTT49MBBP2VRvhK5EmNOqBsKecT4IAb3/gywkLp5uRBdA+Qhp2fZsTMAYa9Ep0 ry3B3PZBKWf2rwHIqwylGXpAH4o5tV+3rPIcwee77nW2g/nOJnVvbi6nk5RbarEaki7G JDMWUEn4f26aTH9TVNABKr+6RhZLR/B9pCDDENHgskURx3UHerqqdd2PCeOwba6x8b8S maQQ== X-Gm-Message-State: AOJu0YzYl+sCFeaCGENH1sfCcYZY1IdzyZZ2x0FM80s2cBilxq5gWYEV SuEAVyN6gVrawpgBxtyOVj9k8jnhLIHwdBlz+R67nY/14ypzdgHp2Z+iQEUur5E= X-Received: by 2002:a05:600c:1e2a:b0:41a:b42d:e6cd with SMTP id ay42-20020a05600c1e2a00b0041ab42de6cdmr52763wmb.4.1713891952706; Tue, 23 Apr 2024 10:05:52 -0700 (PDT) Received: from [192.168.10.46] (146725694.box.freepro.com. [130.180.211.218]) by smtp.googlemail.com with ESMTPSA id g9-20020a05600c310900b0041aa79f27a0sm3735054wmo.38.2024.04.23.10.05.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 23 Apr 2024 10:05:52 -0700 (PDT) Message-ID: <284c2a8d-f786-47dd-8fd4-c2ec0919ebe1@linaro.org> Date: Tue, 23 Apr 2024 19:05:51 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1 03/16] thermal: gov_bang_bang: Clean up thermal_zone_trip_update() Content-Language: en-US To: "Rafael J. Wysocki" , Linux PM Cc: LKML , Lukasz Luba , Srinivas Pandruvada References: <13515747.uLZWGnKmhe@kreacher> <22273122.EfDdHjke4D@kreacher> From: Daniel Lezcano In-Reply-To: <22273122.EfDdHjke4D@kreacher> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 10/04/2024 18:05, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Do the following cleanups in thermal_zone_trip_update(): > > * Drop the useless "zero hysteresis" message. > * Eliminate the trip_index local variable that is redundant. > * Drop 2 comments that are not useful. > * Downgrade a diagnostic message from pr_warn() to pr_debug(). > * Use consistent field formatting in diagnostic messages. > > Signed-off-by: Rafael J. Wysocki > --- Acked-by: Daniel Lezcano -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog