From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ot1-f45.google.com (mail-ot1-f45.google.com [209.85.210.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6BFF91AD41F for ; Fri, 13 Dec 2024 23:07:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734131252; cv=none; b=eqRUGWyvKP9KkfJqsRGYGOBb6f0oWxPEU7ylwt6wb4Hoo+y1wJTUi3+8VDd2lwGUoUN/bA24g2m5UXJ/DHSH0pH39I97evIHAP0rteZL1xXBGVYCbYBy0ZHxBSeMb72oknulzdX+c1sTCrB+jB5PYsZPYtYs+M8vdnHyg6ZqWWA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734131252; c=relaxed/simple; bh=/H+/b/EHC3xNySebTV+Fz3fg+2pc9KxaM+KT7VER1Zg=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type; b=Zg1VmQzcA5a+mjmF/sEgf6Ayww1E2YgLbdHfzRsNVQSCaJ3njpKIaJ9Dt+1C+FzZxy6PwRLXHcyIOnvx1jJEpmKLebfizxW/jG7P2ED38el1zzA5DaGYOZXYj8tuQlEhXWJBhpYyv7oTrF1CwZKpOKf60J/HW0g6V1ysCo2ZsHo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b=GP6dc8ch; arc=none smtp.client-ip=209.85.210.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b="GP6dc8ch" Received: by mail-ot1-f45.google.com with SMTP id 46e09a7af769-71e3284f963so1060548a34.1 for ; Fri, 13 Dec 2024 15:07:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1734131248; x=1734736048; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id:from :to:cc:subject:date:message-id:reply-to; bh=jfSZOheq1APLMyQGCWSF76X8xyeOXIl1Dcq65BLO0Rw=; b=GP6dc8chqENzHwQmqAVDiPrZ9Q4PQtKorxnT7lv80MQK6jZTAEJpP/4Cg2mOX5yat+ buqY8DoMaQ5bLPnUwNbkgDusL3ix0on3zaKOLhFyTZvt0lREgRS0j1ArUomMWj7x+/T0 NIJVVX/lvp9qA1FaisajUuPFYd3CNvq5FFuKbzfgMEBupmhYqddJFXjsTYyAhwLni8CB ZA8xSG3nbFjRxMauST+TWvAd+54355QN5wINVUq8k/FvKrPRLUEwItKRYl5h0fhH1KUM U8dLLofqGH5mTUJegGHnvjIOTE7qEVWRidvJwt7HnBoMP+V++5dMLIIvhPsMrJM+gGmY QSaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734131248; x=1734736048; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=jfSZOheq1APLMyQGCWSF76X8xyeOXIl1Dcq65BLO0Rw=; b=aqmAaZvQ2eXtRSYs3VcTwva+EMQyYuh+OnXLkSQjRWxNREULLaPBqRJMeipAYylslg uc6G9jRFZd1akNYlQO1TL2B2z/AWzSF/bt27bDaitaq+/MR6uZuST6HGFec6vlyCxiZs 6DSbTTQOKoruEOArfdFBj01SeobUYKXDuo6LBtNxKhi0vjgWpE3w70CxqnmnYqi0b2ah nO39NmM2dh9c+JF3J/gGXkL9P4leo4kB//tlSD6vvkhEbYRB2EU9YAhvj09pNyfLKLd6 jUbEjeQTZ0UR9CU3PhaiCaCHMVkvNMKYxeoH3Oer1+rqwqoRVd6gZo3tFgPewo8JCmdO hpKw== X-Forwarded-Encrypted: i=1; AJvYcCXBpT2Dpgtd9nQmePakee6jVgP1TXqZJBD/PSothNTPqIJsvIDescAFpYcFlmdcNq1DQen3VVUY/IacLfM=@vger.kernel.org X-Gm-Message-State: AOJu0Yyn8L0Q828zRg41ydVm/OE+5QK0QXnTSQ9/ap6ngI+2wugjHTT8 ziQ8F9R1CQXuNxMS4oqnJl7XECZGLlwPBqU7K0E5C0j7r9gd2UXQf/TOxUu4yDY= X-Gm-Gg: ASbGncska8zR7gJNSIqJBDI4Juug7VPTuLsW8F/R7tauF/jQMdVCyh8fAfkRe/jTXaY XHnKUKNvjlTchXzFroUvoKszZoFkoarlvou+6vMTMlSd6Q1GU2avnKXyw+WVfn5Mh8xL5wOtczg r9LX97KRxsTNIDvOh1QTLxeWjhwzjiAPS2TOPXPuiQl7TqjtzyhsDV7bM/1K3shXwLK5vzyfau3 56ljIpMzSKF9QKy5bOXPHdPCXYoU3SbJ/U7bkkcX5K/LeAkb+oHcarqTWU7qQYHTNmW2aEgC3UK CUHM+ENsFbim+V1x+A== X-Google-Smtp-Source: AGHT+IF3ggw40plUiQk3aTztRn16+YPItO3Hx5qa5rw//9gVpW2Izyaui5u8Fepbsl9Y6ePB6tTJtw== X-Received: by 2002:a05:6830:380a:b0:718:a52:e1cc with SMTP id 46e09a7af769-71e3ba3a182mr2891997a34.25.1734131248517; Fri, 13 Dec 2024 15:07:28 -0800 (PST) Received: from [192.168.0.142] (ip98-183-112-25.ok.ok.cox.net. [98.183.112.25]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-71e48307d7csm138229a34.14.2024.12.13.15.07.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 13 Dec 2024 15:07:28 -0800 (PST) Message-ID: Date: Fri, 13 Dec 2024 17:07:26 -0600 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v8 1/8] iio: backend: add API for interface get To: Antoniu Miclaus , jic23@kernel.org, robh@kernel.org, conor+dt@kernel.org, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pwm@vger.kernel.org References: <20241213164445.23195-1-antoniu.miclaus@analog.com> Content-Language: en-US From: David Lechner In-Reply-To: <20241213164445.23195-1-antoniu.miclaus@analog.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 12/13/24 10:44 AM, Antoniu Miclaus wrote: > Add backend support for obtaining the interface type used. > > Reviewed-by: David Lechner > Signed-off-by: Antoniu Miclaus > --- > no changes in v8. > drivers/iio/industrialio-backend.c | 24 ++++++++++++++++++++++++ > include/linux/iio/backend.h | 11 +++++++++++ > 2 files changed, 35 insertions(+) > > diff --git a/drivers/iio/industrialio-backend.c b/drivers/iio/industrialio-backend.c > index 20b3b5212da7..c792cd1e24e8 100644 > --- a/drivers/iio/industrialio-backend.c > +++ b/drivers/iio/industrialio-backend.c > @@ -636,6 +636,30 @@ ssize_t iio_backend_ext_info_set(struct iio_dev *indio_dev, uintptr_t private, > } > EXPORT_SYMBOL_NS_GPL(iio_backend_ext_info_set, IIO_BACKEND); > FYI, there has been a change that now requires namespaces to be quoted, so this series needs to be rebased and compiled on the latest iio/testing branch to make sure we catch those. Example: EXPORT_SYMBOL_NS_GPL(iio_backend_ext_info_set, "IIO_BACKEND");