Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4849990rdb; Tue, 12 Dec 2023 10:58:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IGZoE4QcDGdeCNIrdQs/qCz2JqnXU/TwDFvq4eI1GWH3hiNl50m3oRn8Fyqf8I6VFVP667w X-Received: by 2002:a05:6a20:29a5:b0:18f:f86f:bcdc with SMTP id f37-20020a056a2029a500b0018ff86fbcdcmr3349107pzh.69.1702407525434; Tue, 12 Dec 2023 10:58:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702407525; cv=none; d=google.com; s=arc-20160816; b=ccEm1e4IJCBxVbVU+ZmJorfb23ZsrSvrlwdaLrQ5RZOoOCNELTWKnk7HTu3ccZ3jX2 lG5cm3pVFlX6o054/0n1+CcH3CmQQClbgsN2G7ADMmBoLCeGBJbqwSIgDPjOR2K7TT9z lvz2MBcRW7C19ALUJ1rvVsfprXjQDt0qAlP+P/KQpV44GIv1HviBk0x63GsYxtl1AIJy Iiz0Wn3DSmWEY4Y24NX/hjz9GeS1asDFyd/OWSEnILEgNDbWZ+X6tvD+wfQD2GPfiwv0 kz7udg+eGTUCVfQuhKKWdjwFO+PUsz7YiohDoHvpta5I1ro96Laln09hhYWw0q2t5wBV 9yKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=Xd2O/qLmNrwxENh0UpyNTzpaLAEUq0WYDBCsw2d/W2Q=; fh=RtuDzG3qBdBopQSgnrq4t3A5FVYxVmvg6VEK5Hsq0QA=; b=Zho8SMS2oi8OlK3YmiZZX+S9BDxrsQn1n7slZq7QaG5HNpKPgKQj6Ue8BymAj9Iojd XPNUeHvMLOIpr+UNn30rRmG4IdDt+ZFqzNtADwj/L99q4HEr08JretTWU4fwc6YxFxus DIzaq1NGayvp+z2Kpwt4EuwYH95Vq+MD89bSEyp65O1MhpQibWDm2tNajbuy0JvaRgKi rw04W5XpgKVAwn/cQRDGDY/ogcp3ewg2CPlhKqP3bdw0hSQWt0+OWPc/05LrTt8dDChP lIlR1CSQWr7MtMwrTpJUXEqhNX1qpd1XPk6JzC+Hy0dnwnaet/fXLP05PTnGbnzbcNZc 0E5Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id e5-20020a17090a728500b00286f542b546si9530155pjg.83.2023.12.12.10.58.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 10:58:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 3D29A80486AA; Tue, 12 Dec 2023 10:58:33 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376772AbjLLS6X convert rfc822-to-8bit (ORCPT + 99 others); Tue, 12 Dec 2023 13:58:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38790 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376866AbjLLS6W (ORCPT ); Tue, 12 Dec 2023 13:58:22 -0500 Received: from mail-oo1-f45.google.com (mail-oo1-f45.google.com [209.85.161.45]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A081101; Tue, 12 Dec 2023 10:58:27 -0800 (PST) Received: by mail-oo1-f45.google.com with SMTP id 006d021491bc7-5907e590360so257778eaf.0; Tue, 12 Dec 2023 10:58:27 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702407506; x=1703012306; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=jPYriBv9JdGAxc4g5llpBrr+G3FF3YwLNGYDVmKF1sY=; b=c89c5GbTiDwFi2I+mWEQRJOYE392CP/qaGMzJmofbgZQ3bpS7NukbX4L5AvLLQdyDW u9hlkqppZxmGWbknnmB+5NAqFEoljFIjcDtpAfSritPC6UZVaLMm/KvMmoxhefVbejmF pGTCjdx1MuTNteMFCcaF0buz1/1Xdvcgb0LvRi/Xh38Rrl4T9wl+40Pgk1I73eQwO9kL ODekuT+k4gn/mm/3f79fbcP07K9LQseIJ4sk8zsxb8aFnTO2KfJrMtk9DALLAR/N6u2X yyxcjAFkd0Cdvkv7/p9dpDiVAgZ4SfM9g+8DokPCfd6iXmup7mRQ3lboMIt9xDt9QXIK ERUg== X-Gm-Message-State: AOJu0YwsxtTvcJeCORYtDm/SsXZTKzMeEIecGS96mUOXQfKiX5T5fFSX zFgKjg1GfBYSppOx4L9W55jyC3oJIsqr8Z6mLobOs1cD X-Received: by 2002:a4a:e9ae:0:b0:591:4861:6b07 with SMTP id t14-20020a4ae9ae000000b0059148616b07mr597011ood.0.1702407506285; Tue, 12 Dec 2023 10:58:26 -0800 (PST) MIME-Version: 1.0 References: <2709306.mvXUDI8C0e@kreacher> In-Reply-To: <2709306.mvXUDI8C0e@kreacher> From: "Rafael J. Wysocki" Date: Tue, 12 Dec 2023 19:58:15 +0100 Message-ID: Subject: Re: [PATCH v1] thermal: trip: Drop redundant __thermal_zone_get_trip() header To: Linux PM Cc: Daniel Lezcano , Lukasz Luba , LKML , Srinivas Pandruvada , Zhang Rui Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 12 Dec 2023 10:58:33 -0800 (PST) On Mon, Dec 4, 2023 at 8:36 PM Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > The __thermal_zone_get_trip() header in drivers/thermal/thermal_core.h > is redundant, because there is one already in thermal.h, so drop it. > > No functional impact. > > Signed-off-by: Rafael J. Wysocki From the lack of comments I gather that this change is fine with everyone, so I'm going to queue it up for 6.8. Thanks! > --- > drivers/thermal/thermal_core.h | 2 -- > 1 file changed, 2 deletions(-) > > Index: linux-pm/drivers/thermal/thermal_core.h > =================================================================== > --- linux-pm.orig/drivers/thermal/thermal_core.h > +++ linux-pm/drivers/thermal/thermal_core.h > @@ -120,8 +120,6 @@ void __thermal_zone_device_update(struct > for (__trip = __tz->trips; __trip - __tz->trips < __tz->num_trips; __trip++) > > void __thermal_zone_set_trips(struct thermal_zone_device *tz); > -int __thermal_zone_get_trip(struct thermal_zone_device *tz, int trip_id, > - struct thermal_trip *trip); > int thermal_zone_trip_id(struct thermal_zone_device *tz, > const struct thermal_trip *trip); > void thermal_zone_trip_updated(struct thermal_zone_device *tz, > > > >