Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp598589ybg; Mon, 1 Jun 2020 09:20:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyGHrkQ1CJMjqo+0gUwycC8ykWuFFJO364+Ek4//bFRwGbA7kcLGwCjnDe68LZ93bjXdQBP X-Received: by 2002:a17:906:46d0:: with SMTP id k16mr2555536ejs.76.1591028428969; Mon, 01 Jun 2020 09:20:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591028428; cv=none; d=google.com; s=arc-20160816; b=gThuaxZbmaEaUrYkgiIjtQokXNAlYk2/u3sJfBZ0kv3DHc4jOiOGnrvXD8JBeH9WKJ +3A+YsroaHf6BiFR4KiKu1+IkzRr88FEcg7LHSPVtb4f1vxfoWZ58dAjXg7HddxLdhEB Aba1QYvhWWBFI9g/7KHVmoIg1a8rw0WXy7ITZCEH0BeAN3d3Emtect0Eik27Rp7kFt81 mLnBg13MrhNtVU4Crw2kDLjD5+FxOpEgfX9ZCExIzF8N/FzqFTv6K0YzHb0SetEWO0tv 4T2JXF5a589lZ2UPLHxSlTBH/0PvK57rwkIsnwkiIH4T4csrq4Keiri71FPhiUGZuRlk NWOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=jEr8jRsJKKvjfxTnw9836KRXFGt5/yC25EtSETQalvg=; b=kBvSHrPHuE0Wdjj8ootH9ZwMneWrgDIpLG7g8PJ1bElSUJ+udFSEvdM2hXASOmfOmI Xk1B3oEABv8SuL0koSUqXsTXEcGkZEAQWwTywR3JwT6jFpDnuOBg/vJJBQOnc2lbEkOq Kox/SlR6AOXaVmK+sLyjhNuFrVQZDvbHu4YfL6f2slUpzvj0pCRlshm5Hyp8pmYs5r/o eYlVrLvSJetGmHw5QOtz4BE8pG3e0kQmthA92HiZYLAkBQ1oTrnaaPjjNy0TKFSrGIVo XgMR6wSbdJM9c73daoC36LQKgji/E2+46VqTXZRnBx42lcKOKUtIBLz2yj1Wz23Rnrhb ZdpQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 r6si12212359edx.97.2020.06.01.09.20.01; Mon, 01 Jun 2020 09:20:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726555AbgFAQSP (ORCPT + 99 others); Mon, 1 Jun 2020 12:18:15 -0400 Received: from smtpout1.mo528.mail-out.ovh.net ([46.105.34.251]:34965 "EHLO smtpout1.mo528.mail-out.ovh.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726067AbgFAQSO (ORCPT ); Mon, 1 Jun 2020 12:18:14 -0400 Received: from pro2.mail.ovh.net (unknown [10.109.143.213]) by mo528.mail-out.ovh.net (Postfix) with ESMTPS id 6765E6049C10; Mon, 1 Jun 2020 18:18:12 +0200 (CEST) Received: from arch.lan (89.70.180.118) by DAG2EX1.emp2.local (172.16.2.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1847.3; Mon, 1 Jun 2020 18:18:06 +0200 From: Tomasz Duszynski To: CC: , , , Tomasz Duszynski Subject: [PATCH] iio: improve IIO_CONCENTRATION channel type description Date: Mon, 1 Jun 2020 18:15:52 +0200 Message-ID: <20200601161552.34579-1-tomasz.duszynski@octakon.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [89.70.180.118] X-ClientProxiedBy: DAG3EX2.emp2.local (172.16.2.22) To DAG2EX1.emp2.local (172.16.2.11) X-Ovh-Tracer-Id: 3045559251307420695 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduhedrudefhedgleduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvffufffkofgggfgtihesthekredtredttdenucfhrhhomhepvfhomhgrshiiucffuhhsiiihnhhskhhiuceothhomhgrshiirdguuhhsiiihnhhskhhisehotghtrghkohhnrdgtohhmqeenucggtffrrghtthgvrhhnpeehtdeggfekuddvkeehgeeggffhhfetkeeltedvkedvtdevuedtteeufeeuheeiteenucfkpheptddrtddrtddrtddpkeelrdejtddrudektddruddukeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphdqohhuthdphhgvlhhopehprhhovddrmhgrihhlrdhovhhhrdhnvghtpdhinhgvtheptddrtddrtddrtddpmhgrihhlfhhrohhmpehtohhmrghsiidrughushiihihnshhkihesohgtthgrkhhonhdrtghomhdprhgtphhtthhopehjihgtvdefsehkvghrnhgvlhdrohhrgh Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org IIO_CONCENTRATION together with INFO_RAW specifier is used for reporting raw concentrations of pollutants. Raw value should be meaningless before being properly scaled. Because of that description shouldn't mention raw value unit whatsoever. Fix this by rephrasing existing description so it follows conventions used throughout IIO ABI docs. Fixes: 8ff6b3bc94930 ("iio: chemical: Add IIO_CONCENTRATION channel type") Signed-off-by: Tomasz Duszynski --- Documentation/ABI/testing/sysfs-bus-iio | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio index d3e53a6d8331..5c62bfb0f3f5 100644 --- a/Documentation/ABI/testing/sysfs-bus-iio +++ b/Documentation/ABI/testing/sysfs-bus-iio @@ -1569,7 +1569,8 @@ What: /sys/bus/iio/devices/iio:deviceX/in_concentrationX_voc_raw KernelVersion: 4.3 Contact: linux-iio@vger.kernel.org Description: - Raw (unscaled no offset etc.) percentage reading of a substance. + Raw (unscaled no offset etc.) reading of a substance. Units + after application of scale and offset are percents. What: /sys/bus/iio/devices/iio:deviceX/in_resistance_raw What: /sys/bus/iio/devices/iio:deviceX/in_resistanceX_raw -- 2.26.2