[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230719113731.00007248@Huawei.com>
Date: Wed, 19 Jul 2023 11:37:31 +0100
From: Jonathan Cameron <Jonathan.Cameron@...wei.com>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
CC: Mika Westerberg <mika.westerberg@...ux.intel.com>,
Linus Walleij <linus.walleij@...aro.org>,
Balsam CHIHI <bchihi@...libre.com>,
"Claudiu Beznea" <claudiu.beznea@...rochip.com>,
Geert Uytterhoeven <geert+renesas@...der.be>,
Wolfram Sang <wsa+renesas@...g-engineering.com>,
Thierry Reding <thierry.reding@...il.com>,
Paul Cercueil <paul@...pouillou.net>,
<linux-gpio@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux-mediatek@...ts.infradead.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-renesas-soc@...r.kernel.org>, <linux-tegra@...r.kernel.org>,
<linux-pm@...r.kernel.org>, Andrew Lunn <andrew@...n.ch>,
Alexandre Belloni <alexandre.belloni@...tlin.com>,
"Len Brown" <len.brown@...el.com>,
"Rafael J. Wysocki" <rafael@...nel.org>,
Gregory Clement <gregory.clement@...tlin.com>,
Sean Wang <sean.wang@...nel.org>,
Jonathan Hunter <jonathanh@...dia.com>,
"Ludovic Desroches" <ludovic.desroches@...rochip.com>,
Pavel Machek <pavel@....cz>,
Matthias Brugger <matthias.bgg@...il.com>,
Sebastian Hesselbarth <sebastian.hesselbarth@...il.com>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@...labora.com>
Subject: Re: [PATCH v2 04/10] pinctrl: intel: Switch to use
DEFINE_NOIRQ_DEV_PM_OPS() helper
On Tue, 18 Jul 2023 16:53:29 +0300
Andy Shevchenko <andriy.shevchenko@...ux.intel.com> wrote:
> On Tue, Jul 18, 2023 at 11:04:51AM +0100, Jonathan Cameron wrote:
> > On Mon, 17 Jul 2023 20:28:15 +0300
> > Andy Shevchenko <andriy.shevchenko@...ux.intel.com> wrote:
>
> ...
>
> > > EXPORT_SYMBOL_GPL(intel_pinctrl_resume_noirq);
> >
> > Can you check if this is successfully removed? I think it won't be.
> > Not immediately obvious how to tidy that up given these are used
> > in a macro called from lots of drivers.
>
> That's what Paul noticed I think with his proposal to export only the ops
> variable and make these to be static.
>
> > Maybe just leaving the ifdef is best we can do here.
>
> See above.
>
Ah. I noticed it was a macro, but not that all it did was
set the name of the resulting structure (so thought you couldn't
use the export approach).
Indeed that's the best option here
Jonathan
Powered by blists - more mailing lists