From: "=?utf-8?B?UGV0ZXIgS8Okc3RsZQ==?=" Subject: Re: [PATCH v4 11/11] thermal: Rename set_mode() to change_mode() Date: Mon, 01 Jun 2020 11:38:44 +0000 Message-ID: <49000a709ad0fd5c86005d43f776a8f4@piie.net> References: <20200528192051.28034-12-andrzej.p@collabora.com> <20200528192051.28034-1-andrzej.p@collabora.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8BIT Return-path: In-Reply-To: <20200528192051.28034-12-andrzej.p@collabora.com> Sender: linux-renesas-soc-owner@vger.kernel.org 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 List-Id: linux-rockchip.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