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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D6D67D2CE17 for ; Sun, 7 Dec 2025 14:01:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=7VSoH+p50fpJjfAj+aK9EXfW4csLc/l48OTyfb38sIA=; b=vLMbQ+CQsbYuyl 4sTkolzJKswIGGtNVgLBtJ+YBdsoHVM/huxU0nRMR+VSh5Z369aAV0NfozbnsBbovIy+4l6oDqcTS Yikt3sm4HPGBbavmJVHnmLS7aa5lC9jtYG5V42QsI+Zya22Z1PkVSfa+ZeaRusEfqdP+sgqBssD5s NW09swWwk/KNygzqu7Uuo4MTcyJL/B4B/u9wvXJIMvBrUMusu4GRsMjAzYuTwSDoSaqsz7EBmz5cX 6+MhKdAomxtKNhrpe2EUuYSIlzBl1PdTG3E/+9n1MYCyT8CfXouzkUs/bTXN0k6Ko4gqan+l/+hS2 pI1shRdC0cFoSREIAqPg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vSFKA-0000000BzGo-10ed; Sun, 07 Dec 2025 14:01:18 +0000 Received: from tor.source.kernel.org ([2600:3c04:e001:324:0:1991:8:25]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vSFK7-0000000BzGY-0bXo; Sun, 07 Dec 2025 14:01:16 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by tor.source.kernel.org (Postfix) with ESMTP id C0E276001D; Sun, 7 Dec 2025 14:01:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0AD22C4CEFB; Sun, 7 Dec 2025 14:00:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1765116073; bh=XIPzPHGdu9MVAiWYzmLVkJFzpk/+VDBaaF5v6Z7S21s=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=EsCx8mM87A8HyrcrJI3CQaCEoWdzjxwjyxeqqWomtZPKX5oKnNhnVYczlV7yr+api h1nrsAZDZtwq8anuESeyBIikhqAGux8Sco7E2Rn/vfqVt3PrLc2LEXvN4NSCJv8VNd QVVaCfRbNh41EPha2La8wU9XYpzaRw5oeg/WKfl2DGoA8/1tRRDfQAYNuQDEo9c9yk dqBAsLPZNDc43gMPXaP5nnzCsVtGWyKsl2w7so4uosQ6fq9FfMfKiMuPsd2YnYkyMA RKvB9A/O4JQAg0lFIEGn3i1jJw/CzAX645QjvGuZeOKfDEgbv9poaPspTv29soMaUq UJU9YlFfffWtg== Date: Sun, 7 Dec 2025 14:00:46 +0000 From: Jonathan Cameron To: Romain Gantois Cc: MyungJoo Ham , Chanwoo Choi , Guenter Roeck , Peter Rosin , 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 , 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 Message-ID: <20251207140046.56322d6f@jic23-huawei> In-Reply-To: <5948030.DvuYhMxLoT@fw-rgant> References: <20251201-iio-inkern-use-namespaced-exports-v1-1-da1935f70243@bootlin.com> <78240755-44dc-4835-aca5-99540cca0304@baylibre.com> <5948030.DvuYhMxLoT@fw-rgant> X-Mailer: Claws Mail 4.3.1 (GTK 3.24.51; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org On Tue, 02 Dec 2025 08:30:58 +0100 Romain Gantois wrote: > 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. Please spin a precursor patch that makes that change. That way we can easily check all files either both include that header and have the namespace enabled, or neither. I might merge this is a slightly funny way that leave it initially not meeting that rule so that the precursor isn't in the immutable branch for other subsystems but lets keep it logical in the patch set! Jonathan > > > > #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, > -- linux-phy mailing list linux-phy@lists.infradead.org https://lists.infradead.org/mailman/listinfo/linux-phy