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.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable 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 189B6C47094 for ; Thu, 10 Jun 2021 12:46:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EFADF613DF for ; Thu, 10 Jun 2021 12:46:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230349AbhFJMsI (ORCPT ); Thu, 10 Jun 2021 08:48:08 -0400 Received: from aposti.net ([89.234.176.197]:54484 "EHLO aposti.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230265AbhFJMsF (ORCPT ); Thu, 10 Jun 2021 08:48:05 -0400 From: Paul Cercueil To: Jonathan Cameron Cc: Lars-Peter Clausen , Michael Hennerich , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Paul Cercueil Subject: [PATCH 0/2] iio: Add "extended_name" attribute Date: Thu, 10 Jun 2021 13:45:54 +0100 Message-Id: <20210610124556.34507-1-paul@crapouillou.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jonathan, Here's a small change to address an issue I've been facing since the beginning in libiio, namely that the IIO tree in sysfs is not easily parsable (read more about it in patch #2's summary). Any feedback welcome. Cheers, -Paul Paul Cercueil (2): iio: core: Support removing extended name in attribute filename iio: core: Add "extended_name" attribute to all channels drivers/iio/iio_core.h | 3 +- drivers/iio/industrialio-buffer.c | 12 +++-- drivers/iio/industrialio-core.c | 73 ++++++++++++++++++++++++++----- drivers/iio/industrialio-event.c | 3 +- 4 files changed, 74 insertions(+), 17 deletions(-) -- 2.30.2