[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <38bfface-43a0-4538-afb3-b94e998f2f81@app.fastmail.com>
Date: Thu, 26 Jan 2023 14:08:24 +0100
From: "Arnd Bergmann" <arnd@...db.de>
To: "Andy Shevchenko" <andriy.shevchenko@...ux.intel.com>
Cc: "Bartosz Golaszewski" <bartosz.golaszewski@...aro.org>,
"Christophe Leroy" <christophe.leroy@...roup.eu>,
"Dmitry Torokhov" <dmitry.torokhov@...il.com>,
"open list:GPIO SUBSYSTEM" <linux-gpio@...r.kernel.org>,
Linux-Arch <linux-arch@...r.kernel.org>,
linux-kernel@...r.kernel.org,
"Linus Walleij" <linus.walleij@...aro.org>,
"Bartosz Golaszewski" <brgl@...ev.pl>
Subject: Re: [PATCH v1 5/5] gpio: Clean up headers
On Thu, Jan 26, 2023, at 11:16, Andy Shevchenko wrote:
> On Thu, Jan 26, 2023 at 09:42:32AM +0100, Arnd Bergmann wrote:
>> On Wed, Jan 25, 2023, at 21:10, Andy Shevchenko wrote:
>> > There is a few things done:
>> > - include only the headers we are direct user of
>> > - when pointer is in use, provide a forward declaration
>> > - add missing headers
>> > - group generic headers and subsystem headers
>> > - sort each group alphabetically
>> >
>> > Signed-off-by: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
>> > ---
>> > include/asm-generic/gpio.h | 8 --------
>> > include/linux/gpio.h | 9 +++------
>> > include/linux/gpio/consumer.h | 14 ++++++++++----
>> > include/linux/gpio/driver.h | 34 ++++++++++++++++++++++++----------
>> > 4 files changed, 37 insertions(+), 28 deletions(-)
>>
>> This change looks fine, but it conflicts with a slightly
>> broader cleanup that I meant to have already submitted,
>> folding include/asm-generic/gpio.h into linux/gpio.h and
>> removing the driver-side interface from that.
>>
>> Let me try to dig out my series again, we should be able to
>> either use my version, or merge parts of this patch into it.
>
> Can you share your patches, so I will rebase mine on top and see what's left?
>
See the top patches of my randconfig branch at
https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git/log/?h=randconfig-6.3-next
There are eight cleanup patches for gpiolib, plus another seven
patches for individual drivers. I just rebased the tree on top of
linux-next, fixed previous build regression, and will send the
gpiolib patches later on if there are no new problems with it.
Arnd
Powered by blists - more mailing lists