Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp495062pxj; Thu, 10 Jun 2021 06:01:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwkMiP84LEt3IrarQKwZ3IkvOv4n1z6d45iO6Y9UZ8MIl02feTiT6UJCGKw2MhJlLHrh8lm X-Received: by 2002:a05:6402:188:: with SMTP id r8mr4550765edv.75.1623330112758; Thu, 10 Jun 2021 06:01:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623330112; cv=none; d=google.com; s=arc-20160816; b=CIpfi6G7ByRyvBFzcx9hZBcq/BVF6DRxyKng3HlC99X2aBmxFw3jPOdxenFuG0wR7b pWrHU7UpKNw/wpLi+g79ctAKOfTfBSWfzNPz+8CwJFcPhTsAVRYTAufsGLBkSMzYMSMu oQ+Vkdfwe7LbgZ4FtA0jFGcVH+XFJeSCFYcNdAvRdV+ZTNcbM7OAZXicV9taLeA5NtGp 6Kpsm6ubnzw0Af8P8xBXu+LMfwQGIA64r7oSUS1VPWlWhXexg55w8ETPc4R6PdmNWkQe wIz/x56fJvK/R+YhMUocXYATX7grDWGnB8ue3XJUA3Q2X2PQGVDG2lKVK85ph3qZ5+g7 8A8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=kZv55UI1lotbt6zxOJeYG+FLk45h3yJ74p2M096WCtA=; b=Nq9mCVIPrpSmPxC2UIL52DCWebmRtg9CUbyJzGSb1rDNqTs4RP8pVtfvSaqD5nA+Q1 zHd7ULTz2Mzlpacoqu/TT0FqHmDE5uH/4ungOkuO+/WtKlY9O9pKNjH+CZqmdC7SVMXR qcavE7Xi0kfeMzgkrUrg70PRpMIbZ2wlN1qg4ImGE/idfVTGPZ4vgPIYrs2DxRy4V2o8 ED93Sget3nF8y3J1Hps2eHQ8n8QuVYrXUdSadhebGeNseRihutAxHWrOkVJQkLkyFFj6 JFMIVVZDCOzqJswhgXJrWlKBM2uOJko+P6zKYAzqx1DMADzEaxlDoyUzIfjnS1V/UebE 12Tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=U5+g07bC; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j23si2686351eje.719.2021.06.10.06.01.26; Thu, 10 Jun 2021 06:01:52 -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=@gmail.com header.s=20161025 header.b=U5+g07bC; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230492AbhFJNBQ (ORCPT + 99 others); Thu, 10 Jun 2021 09:01:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53656 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230247AbhFJNBE (ORCPT ); Thu, 10 Jun 2021 09:01:04 -0400 Received: from mail-pf1-x432.google.com (mail-pf1-x432.google.com [IPv6:2607:f8b0:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5CC37C061574; Thu, 10 Jun 2021 05:59:08 -0700 (PDT) Received: by mail-pf1-x432.google.com with SMTP id k15so1557136pfp.6; Thu, 10 Jun 2021 05:59:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=kZv55UI1lotbt6zxOJeYG+FLk45h3yJ74p2M096WCtA=; b=U5+g07bCY5xpjLYOIJ95c7kfKcGWVCukCh/hkexG2hfL8FpBgSB2XB8hPvcoWyzQs6 os0gvieM9b0xaQO9vUMjxpBrTVs8ZIw3qa2i3t1VYFGaucT+heTHWAUEC+S92Jseeuy0 oaRMs2pljiVgfpiDW6SVLfmtwmW8CLEheAZYFgJO1wPY4vEHxJ7W199QenpeogQ01hV3 bsROdqbznE8iyA41F1p0rUYUmBZb3jyQgqhA8dNQD87SY5uxD1lnqGJEUpjymBvoCjze rlx1x/mzU7lwHMIH02MNxW5KCU19eKlsFHcrvV3w/e/ZzqV5WissAfj1LnNB9v1YI5Uz FyTw== 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=kZv55UI1lotbt6zxOJeYG+FLk45h3yJ74p2M096WCtA=; b=ti3wBWLL3ARZCLsSyCNDe4JxqN4A2yXplPVKt3w/D0Y49V2rXB6CXCt0KM/pkBbIUR QPjt3JRH4GhDyZso5S+l9xfaUh9ww24/4F56QRj3R3AzeVJ0N0i3Xbuf3d56DykB4nKd OKzqyyMI/tUwZ84wIhnXhTk2j5H9W/dk9kSyUqHDYmw9rLm+pI2NkvJr0r851mPNvxkx Cr+zIpKI1pKVSKW80NrhMOILKymek0a+OBwrQWXadRjpOSiOzBJiPauSmwqLfJ/MfPp2 JfP6e2QVOXmfgPvpisEJZ9Z7ENRFEgHSohuvZqVzeSHbFqe3vsraYzZAbrZwl7F4+JE0 0tNg== X-Gm-Message-State: AOAM532T37Msae4dwLhYLe43r29nFvlcVNk8eLijRQ9zx9jAbQayzGqt yzeYVD6fjMBl2SEm1IpcPFnOHK6O1H6D+YbMr5k= X-Received: by 2002:a63:b507:: with SMTP id y7mr4905365pge.74.1623329947859; Thu, 10 Jun 2021 05:59:07 -0700 (PDT) MIME-Version: 1.0 References: <20210610124556.34507-1-paul@crapouillou.net> <20210610124556.34507-2-paul@crapouillou.net> In-Reply-To: <20210610124556.34507-2-paul@crapouillou.net> From: Andy Shevchenko Date: Thu, 10 Jun 2021 15:58:51 +0300 Message-ID: Subject: Re: [PATCH 1/2] iio: core: Support removing extended name in attribute filename To: Paul Cercueil Cc: Jonathan Cameron , Lars-Peter Clausen , Michael Hennerich , linux-iio , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 10, 2021 at 3:47 PM Paul Cercueil wrote: > > By default, when a channel has an extended name, it will appear in the > filename of channel attributes. E.g. if the extended name is "aux", the > filename of a "sample_rate" attribute will be something like: > in_voltage0_aux_sample_rate > > Add a mechanism to disable this feature. This will be used to add a > "extended_name" channel attribute. I'm afraid, NAK. Otherwise, please put an explanation that clearly shows that it will be no ABI breakage. I.o.w. users for the existing drivers and devices will always get those attributes at the same platform configuration(s). -- With Best Regards, Andy Shevchenko