Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2656078pxa; Mon, 17 Aug 2020 15:40:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz8HYQx6gNbYLcFIcjp9T1+94rgspcLvg2Uh6VcOnvlnD7LouSiRHotyEdMAqf7D9nudxjz X-Received: by 2002:aa7:c0d3:: with SMTP id j19mr16711308edp.157.1597704046104; Mon, 17 Aug 2020 15:40:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597704046; cv=none; d=google.com; s=arc-20160816; b=JFVABd5dYAE+XaI/MBda1k/OOSODOM4GUjzS6gJ7WNtyE+fmjtcljjmZVD85ai6Ik/ Rd9shkt1zbG9pjfMIs9U6l4g7z0co7jHtZ4wBAPUveZbcYBfMBehH26l+3dA9a0oEBHR elMACcJDD7ZnDVj/AXDp9vLmJD2fArEK55rBfQ9qMreTPgxqJi6nllaXsOzHmOcBiRrY 8euKlkEUFThIBb1A2l9W5RBUwYuBIvvMsO0wpBOoMhw/Er5PEWjTZ+bENpHPOHDUjNEs QHjjBsPnF6J14ypkJDQ9N1Q43V3ezH3xeCELqz/QcqvMfRoNBWN+8TDNnyWjO2VBJGs3 Hjfw== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=bbTTqBUgNBKi3IiuKLwbDZ+hKQ2Qgrbqo7CYNSYvFvg=; b=i/iR+1E3GrCfLmW2e9BeJCDkeaSfgDo30sQ5HwzDgHptn0SDj5TwWbMuykwmtB05yj lPW3LcO0mMkkUoVppEIzcD/i/bqiE9IcxrNxLaEoNKK8s0KKc0Xz/hYIxbTM1VgwEdEe yuZGOPWmrQPJzsmzxVZTEDFZzp8G1VZdiMuG2yhwYn33T+pf2Mfx2w58EARv24G06lIl 8/dTCuL+2jDKNnCUIfl9S94uU6YIaiIJTCSPxSk4fazDKvI6URfCtInvsmTTHT+qS9oa vfadYW8SiAQ2vz8bhbGPNMgKa1NA26qeKhnRFNcUuLG1DaF8IWugnRCftiAbNMAptcF3 FT3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=M3CCfKjj; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u8si12067631ejr.485.2020.08.17.15.40.23; Mon, 17 Aug 2020 15:40:46 -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; dkim=pass header.i=@kernel.org header.s=default header.b=M3CCfKjj; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390801AbgHQSTx (ORCPT + 99 others); Mon, 17 Aug 2020 14:19:53 -0400 Received: from mail.kernel.org ([198.145.29.99]:52848 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388352AbgHQQFA (ORCPT ); Mon, 17 Aug 2020 12:05:00 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 208CD207FB; Mon, 17 Aug 2020 16:04:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1597680299; bh=htBl/A/Kkxb6Lyw01Gao7qGjF9EKdU+6Qk+idagbRTE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=M3CCfKjjtsjM8n9d4cuQDcYPtAvJHzE44/Tlr1z11EFNZEH2LbGps56g5dw0IftNK hStug5Vr/XFW1Q9IKCYtBJr4LrvgLPnijy6nx1oLCo5nOsjEFMH8O0LfdCZOkWJDZi RhGTEr28OqAvohMdKzPH3J1SKUkDapIWiQKEMqlc= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Tomasz Duszynski , Matt Ranostay , Jonathan Cameron , Sasha Levin Subject: [PATCH 5.4 101/270] iio: improve IIO_CONCENTRATION channel type description Date: Mon, 17 Aug 2020 17:15:02 +0200 Message-Id: <20200817143800.815333725@linuxfoundation.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200817143755.807583758@linuxfoundation.org> References: <20200817143755.807583758@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Tomasz Duszynski [ Upstream commit df16c33a4028159d1ba8a7061c9fa950b58d1a61 ] 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 Acked-by: Matt Ranostay Signed-off-by: Jonathan Cameron Signed-off-by: Sasha Levin --- 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 680451695422a..c3767d4d01a6f 100644 --- a/Documentation/ABI/testing/sysfs-bus-iio +++ b/Documentation/ABI/testing/sysfs-bus-iio @@ -1566,7 +1566,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.25.1