From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpout-03.galae.net (smtpout-03.galae.net [185.246.85.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0EE00221FD0; Tue, 2 Dec 2025 07:31:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.85.4 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764660686; cv=none; b=Xy/he+zWBpRqpLVKRJDl7x1hoDJLteWu9SXww00JywupqDUUuV1Uqks+yyc7hgLV1R+O8vRQ7Fa8gixFvRn9+TCP2bVNoEwOevpErAllrwretEkzPAxpAbE/8IBZHh/3za1XdNjxl5DHmRK5QaGQQZfHCAZltLZwtqwTI+sXVkU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764660686; c=relaxed/simple; bh=rWht80TdDMbsCZaWcUFcjjhYySkfTb93xasOXU5Ylxc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=BZN8md+SJ5y6N4Aib5vdj+d/3PRR/FYnwGDkFM4vRVymDxCXgn7/eD3WvfeL31lVCVhlq0RkBCwCFFBM43XIDNV82l9XABky0ChwzHY0FO1RnJF+2fFlRC/MJq+ebz9UYXy4yG4xwItllH/eJpvYwQDqFJ2sPQ733P2TvUz0ank= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=bY3TTYiS; arc=none smtp.client-ip=185.246.85.4 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="bY3TTYiS" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-03.galae.net (Postfix) with ESMTPS id 0C0B44E419D4; Tue, 2 Dec 2025 07:31:20 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id C3C60606E3; Tue, 2 Dec 2025 07:31:19 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 403D9103C8F04; Tue, 2 Dec 2025 08:30:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1764660676; h=from:subject:date:message-id:to:cc:mime-version:content-type: in-reply-to:references; bh=gutkuk21iRBLBzb9hvOl6cUp6HFUU/VZ7OrEhTRZmwQ=; b=bY3TTYiSLFXa5B94KQgeAayt80JXK78ig76Aq2SyfufNuWcT41c/auFS4kPqbVeYIZlJKX QrXrN/qRIP4zNsj2m/7od8XOWVPza9ZQvvaa8nia4r3ByMuNdtTuF/t2v7gxBFCMMsW9RB i0p/8OBYWY3+n3FRUeyswfCRhz6Fv2at184ftP1FUUlpPAnLeFkqXVNSm5O6zbN24Wre4+ N8LDjO5ty4mD4BpDEbuBV6eat2hrRdfThqf+Hnymm7a9OslgagnMsXhZ11fV4HVQz7RWeL AMcHDMFpAB93S2dU0dURDWQPs1MVtcc1ZnrYa/w6k4129RIITI9OMaZRIN58Wg== From: Romain Gantois To: MyungJoo Ham , Chanwoo Choi , Guenter Roeck , Peter Rosin , Jonathan Cameron , Nuno =?UTF-8?B?U8Oh?= , Andy Shevchenko , Lars-Peter Clausen , Michael Hennerich , Mariel Tinaco , Kevin Tsai , Linus Walleij , Dmitry Torokhov , Eugen Hristev , Vinod Koul , Kishon Vijay Abraham I , Sebastian Reichel , Chen-Yu Tsai , Hans de Goede , Support Opensource , Paul Cercueil , Iskren Chernev , Krzysztof Kozlowski , Marek Szyprowski , Matheus Castello , Saravanan Sekar , Matthias Brugger , AngeloGioacchino Del Regno , Casey Connolly , Pali =?UTF-8?B?Um9ow6Fy?= , Orson Zhai , Baolin Wang , Chunyan Zhang , Amit Kucheria , Thara Gopinath , "Rafael J. Wysocki" , Daniel Lezcano , Zhang Rui , Lukasz Luba , Claudiu Beznea , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Sylwester Nawrocki , Olivier Moysan , Arnaud Pouliquen , Maxime Coquelin , Alexandre Torgue , David Lechner Cc: Thomas Petazzoni , linux-kernel@vger.kernel.org, linux-hwmon@vger.kernel.org, linux-iio@vger.kernel.org, linux-input@vger.kernel.org, linux-phy@lists.infradead.org, linux-pm@vger.kernel.org, linux-mips@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-sound@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com Subject: Re: [PATCH] iio: inkern: Use namespaced exports Date: Tue, 02 Dec 2025 08:30:58 +0100 Message-ID: <5948030.DvuYhMxLoT@fw-rgant> In-Reply-To: <78240755-44dc-4835-aca5-99540cca0304@baylibre.com> References: <20251201-iio-inkern-use-namespaced-exports-v1-1-da1935f70243@bootlin.com> <78240755-44dc-4835-aca5-99540cca0304@baylibre.com> Precedence: bulk X-Mailing-List: linux-mips@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart6220005.lOV4Wx5bFT"; micalg="pgp-sha512"; protocol="application/pgp-signature" X-Last-TLS-Session-Version: TLSv1.3 --nextPart6220005.lOV4Wx5bFT Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8"; protected-headers="v1" From: Romain Gantois Subject: Re: [PATCH] iio: inkern: Use namespaced exports Date: Tue, 02 Dec 2025 08:30:58 +0100 Message-ID: <5948030.DvuYhMxLoT@fw-rgant> In-Reply-To: <78240755-44dc-4835-aca5-99540cca0304@baylibre.com> MIME-Version: 1.0 On Monday, 1 December 2025 18:15:54 CET David Lechner wrote: > On 12/1/25 4:59 AM, Romain Gantois wrote: > > Use namespaced exports for IIO consumer API functions. > > > > Signed-off-by: Romain Gantois > > --- > > ... > > > diff --git a/drivers/iio/dac/ds4424.c b/drivers/iio/dac/ds4424.c > > index a8198ba4f98a..33d6692f46fe 100644 > > --- a/drivers/iio/dac/ds4424.c > > +++ b/drivers/iio/dac/ds4424.c > > @@ -14,7 +14,6 @@ > > > > #include > > #include > > #include > > > > -#include > > Unrelated change? Indeed, I'll leave that out in v2. > > #define DS4422_MAX_DAC_CHANNELS 2 > > #define DS4424_MAX_DAC_CHANNELS 4 > > > > @@ -321,3 +320,4 @@ MODULE_AUTHOR("Ismail H. Kose > > ");> > > MODULE_AUTHOR("Vishal Sood "); > > MODULE_AUTHOR("David Jung "); > > MODULE_LICENSE("GPL v2"); > > > > +MODULE_IMPORT_NS("IIO_CONSUMER"); > > Is this actually needed if we don't use anything from consumer.h? No, it's not. Thanks, -- Romain Gantois, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --nextPart6220005.lOV4Wx5bFT Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEIcCsAScRrtr7W0x0KCYAIARzeA4FAmkulbIACgkQKCYAIARz eA6r+A//aMF01GyQ28Vt1qVRnR+uQNAhVi/B2aUu4XYyy1hc2lVzhHwvSjyYiXET h1jorSaLD9m5MsoTo9Scxhpu1d5KWIy5DaNATac1wmHh9t0IdE8gw1kNaUcNmefr NFOanFttvVt7e9cko6PsxmX9GOioawS3CVrJuObkGGftqR3KVD3WMOg+n551pkK4 63Xbfe6PPADF06Lyu2kyyxUXLwIsuXQ8Z4dQ+kX4Bky34L0v4w0Yxos4Uhkwv5ur SOUtezyExAQTgAJi9KW5MPADpCdXfB3moTv29CdWRs1K8XLkxxLeprZnutXRFxOu CrmiA30lNs2pp7wut+8PfmeYX6btqOCMQ8KENXNV9StrRc9UqD6K6TbbJGE/Vbzg gxDVp9t0i0nxcQAwhtvnlmAjf3pxeJWXf1iII5ooXoxv2yW1G+FsL9RBztyEnTA1 0iLFg1Yyx/28b7iZsf6oD5luqSRnQ7Qi0js5sAA3rVHfMtOlO/rGcUH1BprrpLPa m5jycApgp26OuCSxacOhlAZ6iXy1pyepTaDlS9wz1kbdwVJOf3IaWuRhDHrRugCd zya/579XFCsbobzejkSRHzgwylhuGsDMAniIn0MaeQw3E5wyBTCVJTXx9qebFj3v sUVcLNhFQBy/G8YWighvreSaPr43mWS4ueBmAMClqYmOzq2nF2k= =n+bE -----END PGP SIGNATURE----- --nextPart6220005.lOV4Wx5bFT--