Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp404244ybg; Mon, 1 Jun 2020 04:37:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwkS4ngH74qrzVe16CGUp2KMkJEfj26umRM7zk3DlOuhvK0XUWy52m5KMhnYMsy2wWJEmSS X-Received: by 2002:a50:f106:: with SMTP id w6mr15129840edl.131.1591011476578; Mon, 01 Jun 2020 04:37:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591011476; cv=none; d=google.com; s=arc-20160816; b=Zzj+vZ0epTkrs7/lTzX1gDslzGHhdq/okNcvoRoV65gdcxkfYuLB4GxU38+kJ5+lxy AMilqIecTK0fbW1ibjepXH21IKYbVsaA8UYELkHKk4Cdx66NxLsGDijb+YCKW1q4MrK5 sJHoexmjMcsjHdXC8nX4BPdGH4D7qlIyaLSmzilF0EFBpZbaQDR9jFbchmibWACyzflp tRbUO8pMjEpyj+4CEVQ42+3BBQbyLeBKNZNKXSNGN/emTk+xf+nAgbLjs7jbz7C/BXaH nFzjkWSEzHyQlC7vZAUUZsJOievuNTfo2X292eahiy81vXe5+kSum/ZbLzwPmOS0NDhW gkjw== 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=B4mtIvoiJUKMxgTrIhKTZpRxZizLpQXt6Bmhr27sEhU=; b=ML9HrIIdsE0hjRGLZ4nLDRyzsbotnKYEyMBkySuGxk47alR/Cc9POs4d7j6wnUaJkf QklpewAkZfc6xth3Y1A3o1ruPncLfGEA28kkiWfAoaFnVviSAGHmqOr9fkH6vYwpICr4 G2Mta+GyGjPZkfhTvvVk7t0GdmI7QG8o70sjoVUX9yqVhYDEkIWA+b2l4ifAmrOSueUI BdLfh7DO9cKiizwTEazsQXrMTpzB01QFdlBIoV6Q19mRaHEKRnpbDdFQ3eZOlpT8mQZ/ r1mQCORoRVVtY3SWRmuTIWAwb4RQFNblFhVMJkFx064KwVJozx2YVVxGptkZtXFoLqdj TAzw== 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 d10si10355896edo.83.2020.06.01.04.37.32; Mon, 01 Jun 2020 04:37:56 -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 S1726075AbgFALhY convert rfc822-to-8bit (ORCPT + 99 others); Mon, 1 Jun 2020 07:37:24 -0400 Received: from piie.net ([80.82.223.85]:41312 "EHLO piie.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725838AbgFALhY (ORCPT ); Mon, 1 Jun 2020 07:37:24 -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 16098163C; Mon, 1 Jun 2020 13:37:19 +0200 (CEST) Mime-Version: 1.0 Date: Mon, 01 Jun 2020 11:37:19 +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: <1e979aee396e9d28189b4926af6f4684@piie.net> Subject: Re: [PATCH v4 05/11] thermal: remove get_mode() operation of drivers 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-6-andrzej.p@collabora.com> References: <20200528192051.28034-6-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:21, "Andrzej Pietrasiewicz" schrieb: > get_mode() is now redundant, as the state is stored in struct > thermal_zone_device. > > Consequently the "mode" attribute in sysfs can always be visible, because > it is always possible to get the mode from struct tzd. > > Signed-off-by: Andrzej Pietrasiewicz > --- [...] > drivers/platform/x86/acerhdf.c | 12 -------- Acked-by: Peter Kaestle