Message ID | 1506604306-20739-20-git-send-email-sudeep.holla@arm.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp729202qgf; Thu, 28 Sep 2017 06:15:48 -0700 (PDT) X-Google-Smtp-Source: AOwi7QC9hm8Tm6pg/Y0/f65g6IXRNAmay5MyLtdKnEzotf3fyWGLY6C1RSfMxEaTxjuCoEKY2/jp X-Received: by 10.84.216.75 with SMTP id f11mr4159063plj.236.1506604548301; Thu, 28 Sep 2017 06:15:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1506604548; cv=none; d=google.com; s=arc-20160816; b=VIebvaO1qotg2Ez9ZOAUwfB5SS12KrIRPEE90Q2htF+lbp5u04qaIAk/vY6sDcHVBz bV5fdc6/SduJJbV/dSn5bpnJhvqSQFVM4NZZeFIIrZ15n+GHMPaRGkEg9LJiEH9KQJKC b4/rv8b/XvpQfIOYBVhgtrLAA2Z9G9vHWEt8qTIdLD2xmDBrZFsnq+L9pzfgeTT3L4pf xsKsWO9P8Qa231SRZopSYH4AdghLwClZH9oigbr1epSw+LNPyLEaNoBz0l5qGMkTSssQ zlkDThkc6o1ciVbEZjJlca8I3vn1paSJ5Ub0xLNYeVnh94Ybaoet8ifT4HIuNutaoSCT 3z2w== 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:message-id:date :subject:cc:to:from:arc-authentication-results; bh=XE2JM44Xtb0rEp6sPK51yp57aXtsYqkdj2uH0m6ZGt0=; b=E13uINJAfek/1nsu/+aoxrxN2VTWCLntuLLLfzmCH5qsacag9uKDW7xJA8s2canAWv DHGvP5kMLjAkptZ22dccdyiWCaxMMdFUJOcOXWqskOxteiy/k/V0AQUDqXEMM4qYPz0/ aDBc8clSqAfVuiJK6N/Xv05f6pv2R1hUqycVmBoACZ50forsaONxLiwJbx9xHxE9hxPv TrHkpcxuz9rCOoTE83qch5SjbyQAHmTd1D6KJixzHW3LmFxDmqo+TUPsQz4ZIJwuFUhc Lfh/nBiZQPahjFj9CfcHo3y5hpBWJ1HTfhGdRw1Ea0R7KyQt/OfBG6i6pXBGSeBGnCIM SM6A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 62si1416636plc.742.2017.09.28.06.15.48; Thu, 28 Sep 2017 06:15:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932135AbdI1NPq (ORCPT <rfc822;daniel.diaz@linaro.org> + 26 others); Thu, 28 Sep 2017 09:15:46 -0400 Received: from foss.arm.com ([217.140.101.70]:57262 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752079AbdI1NOu (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 28 Sep 2017 09:14:50 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 5706619E8; Thu, 28 Sep 2017 06:14:50 -0700 (PDT) Received: from e107155-lin.cambridge.arm.com (unknown [10.1.210.28]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id E84BB3F483; Thu, 28 Sep 2017 06:14:47 -0700 (PDT) From: Sudeep Holla <sudeep.holla@arm.com> To: ALKML <linux-arm-kernel@lists.infradead.org>, LKML <linux-kernel@vger.kernel.org>, DTML <devicetree@vger.kernel.org> Cc: Sudeep Holla <sudeep.holla@arm.com>, Roy Franz <roy.franz@cavium.com>, Harb Abdulhamid <harba@codeaurora.org>, Nishanth Menon <nm@ti.com>, Arnd Bergmann <arnd@arndb.de>, Loc Ho <lho@apm.com>, Alexey Klimov <alexey.klimov@arm.com>, Ryan Harkin <Ryan.Harkin@arm.com>, Jassi Brar <jassisinghbrar@gmail.com>, Guenter Roeck <linux@roeck-us.net>, linux-hwmon@vger.kernel.org Subject: [PATCH v3 19/22] hwmon: (core) Add hwmon_max to hwmon_sensor_types enumeration Date: Thu, 28 Sep 2017 14:11:43 +0100 Message-Id: <1506604306-20739-20-git-send-email-sudeep.holla@arm.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1506604306-20739-1-git-send-email-sudeep.holla@arm.com> References: <1506604306-20739-1-git-send-email-sudeep.holla@arm.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
[v3,01/22] dt-bindings: mailbox: add support for mailbox client shared memory
|
expand
|
diff --git a/include/linux/hwmon.h b/include/linux/hwmon.h index ceb751987c40..e5fd2707b6df 100644 --- a/include/linux/hwmon.h +++ b/include/linux/hwmon.h @@ -29,6 +29,7 @@ enum hwmon_sensor_types { hwmon_humidity, hwmon_fan, hwmon_pwm, + hwmon_max, }; enum hwmon_chip_attributes {
It's useful to know the maximum types of sensor supported by hwmon framework. It can be used to allocate some data structures when sorting the monitors based on their type. This will be used by scmi hwmon support. Cc: Guenter Roeck <linux@roeck-us.net> Cc: linux-hwmon@vger.kernel.org Signed-off-by: Sudeep Holla <sudeep.holla@arm.com> --- include/linux/hwmon.h | 1 + 1 file changed, 1 insertion(+) -- 2.7.4