Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp405923ybg; Mon, 1 Jun 2020 04:41:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxN0KP+CttHiwXIwl8d4E+oZP+UBkaVASbR68jUyMJEwJMVsjr3E1V3C48VNrGbfzLLWk2T X-Received: by 2002:a50:8dc2:: with SMTP id s2mr22057614edh.318.1591011659808; Mon, 01 Jun 2020 04:40:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591011659; cv=none; d=google.com; s=arc-20160816; b=sM0utdmheUIwZb5gTjR3a9yzIAI1WkdN1LTUxDNIT4ZagbqnvXDf+5/HsRQdVV46So Us9sOMAp3x7BpbyuKICGD3Z/q6m4clL9ircchv/lWTxVSFDaH5Hd6jhLoBYsT1KLUaap 19xo0Ia1Ve/1sflFMWdXTCJAIG6wemKU3B8CS92RhOVssHB1VtzRJfH7FxOQzp9Rmui6 afAV46CJpO3HYGvgaiIJg0Z94pB5ByaWO6cNLVTUemvD9xCM1RVTBWCM896tb0at+g6Q joF1WTrzyjRuOHyAxWwFATai5DI4xNJ+AuQLyAgblrjEUSKelgjFQQVKiS+BLel5A6qS 4DCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:cc:to:subject :message-id:from:content-transfer-encoding:date:mime-version; bh=rprqNta+IYtxFliNAhkzw+4kZ0qs+fNUh/2ETkuidRg=; b=ls03OT4C9A+5VtHQb5q8x59iy5pNFFbG0zPPXrRpvZMRYAqcD68N35mVQ+fyGBHntz izm4bbXErwJOCQf/ut1ugOv9DfkQtQ0DXjPkB3Oz1fUOrhM2jY40WCEJUL0If9L8kEZG F+XdpeWbhQ4EneXSjdBgIBsxc+rjWJmqVA3APrCGhpEAu2zTuHCiVRcxDV2DLDer5Psi JVwdgdXJnEyA6Qmfs8URzyVq0HsGRDiwDAFS48u8KqrGXHLuIgJ0CpnapI3EsGOhyTY6 SRbAw8VVLOE/93wRXepC0Hmqj3C9VGFkquGOqrGTUjWWOe+uraAU8ZvC6wI5b+smMjkc 5KnQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z23si10446973ejb.144.2020.06.01.04.40.36; Mon, 01 Jun 2020 04:40:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726944AbgFALiu convert rfc822-to-8bit (ORCPT + 99 others); Mon, 1 Jun 2020 07:38:50 -0400 Received: from piie.net ([80.82.223.85]:41478 "EHLO piie.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725838AbgFALit (ORCPT ); Mon, 1 Jun 2020 07:38:49 -0400 Received: from mail.piie.net (localhost.localdomain [127.0.0.1]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by piie.net (Postfix) with ESMTPSA id 8766B2C73; Mon, 1 Jun 2020 13:38:44 +0200 (CEST) Mime-Version: 1.0 Date: Mon, 01 Jun 2020 11:38:44 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8BIT X-Mailer: RainLoop/1.11.3 From: "=?utf-8?B?UGV0ZXIgS8Okc3RsZQ==?=" Message-ID: <49000a709ad0fd5c86005d43f776a8f4@piie.net> Subject: Re: [PATCH v4 11/11] thermal: Rename set_mode() to change_mode() To: "Andrzej Pietrasiewicz" , linux-pm@vger.kernel.org, linux-acpi@vger.kernel.org, netdev@vger.kernel.org, linux-wireless@vger.kernel.org, platform-driver-x86@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-renesas-soc@vger.kernel.org, linux-rockchip@lists.infradead.org Cc: "Rafael J . Wysocki" , "Len Brown" , "Vishal Kulkarni" , "David S . Miller" , "Jiri Pirko" , "Ido Schimmel" , "Johannes Berg" , "Emmanuel Grumbach" , "Luca Coelho" , "Intel Linux Wireless" , "Kalle Valo" , "Darren Hart" , "Andy Shevchenko" , "Sebastian Reichel" , "Miquel Raynal" , "Daniel Lezcano" , "Amit Kucheria" , "Support Opensource" , "Shawn Guo" , "Sascha Hauer" , "Pengutronix Kernel Team" , "Fabio Estevam" , "NXP Linux Team" , "=?utf-8?B?TmlrbGFzIFPDtmRlcmx1bmQ=?=" , "Heiko Stuebner" , "Orson Zhai" , "Baolin Wang" , "Chunyan Zhang" , "Zhang Rui" , "Allison Randal" , "Enrico Weigelt" , "Gayatri Kammela" , "Thomas Gleixner" , "Bartlomiej Zolnierkiewicz" , kernel@collabora.com In-Reply-To: <20200528192051.28034-12-andrzej.p@collabora.com> References: <20200528192051.28034-12-andrzej.p@collabora.com> <20200528192051.28034-1-andrzej.p@collabora.com> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org 28. Mai 2020 21:22, "Andrzej Pietrasiewicz" schrieb: > set_mode() is only called when tzd's mode is about to change. Actual > setting is performed in thermal_core, in thermal_zone_device_set_mode(). > The meaning of set_mode() callback is actually to notify the driver about > the mode being changed and giving the driver a chance to oppose such > change. > > To better reflect the purpose of the method rename it to change_mode() > > Signed-off-by: Andrzej Pietrasiewicz > --- > drivers/platform/x86/acerhdf.c | 6 +++--- Acked-by: Peter Kaestle