From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_2 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9B658C433DF for ; Sat, 6 Jun 2020 14:46:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 72680207C4 for ; Sat, 6 Jun 2020 14:46:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1591454768; bh=PBym/DGHE9NjcaE0h+p9wR4vb3R6jof0PH+usemivzI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:List-ID:From; b=Ui3YNUGwdCqs6IiRKL45AnILwXpPWc0qfF/kRYUTAe5uIpEN17AXuOp5SRnKh22JU 56eHzAzLxx7zAaqsgdC9H/izMo19QGg8kEm3ZV1n/jIVwTzQ0SS9fuhKn0JPxD7kCJ MiIXdsVx5ep5u+cOAca0pXomNk2572n/T3+QfM+k= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728670AbgFFOqH (ORCPT ); Sat, 6 Jun 2020 10:46:07 -0400 Received: from mail.kernel.org ([198.145.29.99]:53422 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728630AbgFFOqH (ORCPT ); Sat, 6 Jun 2020 10:46:07 -0400 Received: from archlinux (cpc149474-cmbg20-2-0-cust94.5-4.cable.virginm.net [82.4.196.95]) (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 F1F1320723; Sat, 6 Jun 2020 14:46:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1591454767; bh=PBym/DGHE9NjcaE0h+p9wR4vb3R6jof0PH+usemivzI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=F4YXPTm3dniH8D5Dv2Qb5R9QGBzWomEEaJ3psaxgtE9IhLaxVfC2iw77xoV3AvGFf Cvg7XeMUPZzHdnNgLSSMVrs6GKKopZewjdFXJPKeI6iI+xX4Qj2xrNFrUefovlugQr eCMiGwes5PeWq5iTcCUuNtztPSbQXePD4io/2DPk= Date: Sat, 6 Jun 2020 15:46:03 +0100 From: Jonathan Cameron To: Matt Ranostay Cc: Tomasz Duszynski , "open list:IIO SUBSYSTEM AND DRIVERS" , open list , Matt Ranostay Subject: Re: [PATCH] iio: improve IIO_CONCENTRATION channel type description Message-ID: <20200606154603.0fd52019@archlinux> In-Reply-To: References: <20200601161552.34579-1-tomasz.duszynski@octakon.com> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org On Mon, 1 Jun 2020 14:19:43 -0700 Matt Ranostay wrote: > On Mon, Jun 1, 2020 at 9:18 AM Tomasz Duszynski > wrote: > > > > 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. > > Acked-by: Matt Ranostay Thanks for tidying that up. Applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to ignore. Thanks, Jonathan > > > > > 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 > >