Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp780847ybg; Mon, 1 Jun 2020 14:22:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxfs1Joe1iNmK9YvnLr3nHjT0EytgrmAOSbM8px/8k7rgEaA4vBZ+WiOVOs0pxbGkOFd9a0 X-Received: by 2002:a17:906:2507:: with SMTP id i7mr2477208ejb.419.1591046542493; Mon, 01 Jun 2020 14:22:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591046542; cv=none; d=google.com; s=arc-20160816; b=L7obGML5FTk0630q0cgQKFfpRfOZrn5P6WGdnzftzWeQqfDQ+lJXC0NAGjJByLM6LX bDqnofBxWIQNL/cimTbfjM5+rWwt53s4b6SuJLvVaq56iIJNRyRXQI4qn08C6DsS2t5u 4rzeAWgnhPuCHyBNbA2Y7RxjZSTI1jlWrkOSlHJuSPlT4C0YuXs5D7nyRix36MZswrY2 Na1U75AK+8oLlBMgXsdtFYTPbCGulqcRbTPSN16w9fU6oX/rqrw7ZLNqbsQbgC+HQwY1 1H82DWhyP0eh0o4vXMqG4XTI1zQxCSJPb4XmW8xblKSU4Yy791MDqy1ujMSkLI2gtKmg VBfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=rLJA34osZojtXwJVfuFDiRuCU0UG0pNat9rZBvD4N6o=; b=od3DRQyqYzgZOkpNFR6u+A1GDldBG5UEFm8Wp79VA53JnP9W78hJnaA716qbR1LNf/ 3m1mRqm289VRBzO0IH5yOvzwP+obLg4feK60oiZIxoTyl9rWeW9gzaz/13OGtSoXE/5A yGlG4DPwT05Hm28CPCl+SKx9fsd6wZN+raZhSiEikFShagY7pULcYJwKr3CFQZBcOTIh GWk8yxdHso0DRX54hqKfW4Vh58Wx+Jm9iMwLJsLVRM35TxWkFdVOvey2rcZRyJLdFj0J 9ggKWGxPJ2FAg7ZaT6tbJNbVnuJ483KTG5y1viD3hmLqIpSHGH0sKZ6kqoshQlfooday /pSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@konsulko.com header.s=google header.b=KjPVpgMj; 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 gy17si383816ejb.244.2020.06.01.14.21.59; Mon, 01 Jun 2020 14:22:22 -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=@konsulko.com header.s=google header.b=KjPVpgMj; 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 S1728676AbgFAVT4 (ORCPT + 99 others); Mon, 1 Jun 2020 17:19:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728205AbgFAVT4 (ORCPT ); Mon, 1 Jun 2020 17:19:56 -0400 Received: from mail-io1-xd43.google.com (mail-io1-xd43.google.com [IPv6:2607:f8b0:4864:20::d43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 76947C061A0E for ; Mon, 1 Jun 2020 14:19:56 -0700 (PDT) Received: by mail-io1-xd43.google.com with SMTP id r2so8577644ioo.4 for ; Mon, 01 Jun 2020 14:19:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=rLJA34osZojtXwJVfuFDiRuCU0UG0pNat9rZBvD4N6o=; b=KjPVpgMjUaVFvgf4lgpJvrbVuOKbMptA5Zxy3BS2pdbAq2Sc20x1VHqV48I0BDhyMk /mrklzQVCb7IUZDXvkfXp+1IK3JctDfbAL8onndlwkV1ruHwLYhrt6eAef3fzrZO1qfo rQUrRjigths73TlnoTAjFoP2MTRFmXw9pwaFE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=rLJA34osZojtXwJVfuFDiRuCU0UG0pNat9rZBvD4N6o=; b=JkZoIEZJQ2uKYpGRKiBXnzSfhabPhboE6jrLWFnW0x5dH4aFlCZG/pScfvB6ukI2dK Xe30Og6fpAHneBeQfn3ddb4xkS2wFwjkh7C6Lq9yswUd0a+QH90vguRuJmfbE1k37Qii 7DjS/v2W7b9phVW7INhFnCRzHb8RH+5SQ0S00nPlnH7g9quGyjolhe+GDZImsTfHvJFo ke12lbOah+PcxXRSFHAHDbt+TSoii2tmtQPKNo3aXYpXT3jhdPsvc0sl6/2DWXDEI5gy tPYoiNbueauk+MNMJZScVVybAjw5mpxCGpDULyjF9JONVLf0Ifnwp5VkULBk/642CXzt AsrA== X-Gm-Message-State: AOAM532z8FVUsqYd1LXjcYrLi+xzrg5+x1RXVBJaKdsLzZAon3AbXgxp ypcfivjOXeVLPCJoFgBfUn61YtZcRedZ4NWSbnX/Cg== X-Received: by 2002:a6b:f812:: with SMTP id o18mr19976556ioh.87.1591046394929; Mon, 01 Jun 2020 14:19:54 -0700 (PDT) MIME-Version: 1.0 References: <20200601161552.34579-1-tomasz.duszynski@octakon.com> In-Reply-To: <20200601161552.34579-1-tomasz.duszynski@octakon.com> From: Matt Ranostay Date: Mon, 1 Jun 2020 14:19:43 -0700 Message-ID: Subject: Re: [PATCH] iio: improve IIO_CONCENTRATION channel type description To: Tomasz Duszynski Cc: "open list:IIO SUBSYSTEM AND DRIVERS" , open list , Matt Ranostay , Jonathan Cameron Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > > 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 >