Re: [PATCH v1] misc: Use named initializers for arrays of i2c_device_data

From: Arnd Bergmann

Date: Tue May 19 2026 - 05:51:02 EST


On Tue, May 19, 2026, at 11:40, Uwe Kleine-König (The Capable Hub) wrote:
> On Mon, May 18, 2026 at 09:53:08AM +0200, Bartosz Golaszewski wrote:
>> On Fri, May 15, 2026 at 6:27 PM Uwe Kleine-König (The Capable Hub)
>> <u.kleine-koenig@xxxxxxxxxxxx> wrote:
>> > drivers/misc/eeprom/at24.c | 62 +++++++-------
>>
>> This drivers lives under drivers/misc/ but I maintain it separately
>> and send PRs to Wolfram so they go through the i2c tree (historical
>> reasons really and maybe we should move it under drivers/nvmem/?). Can
>> you send this separately?
>
> Done
> (https://lore.kernel.org/linux-i2c/20260519093806.1567914-2-u.kleine-koenig@xxxxxxxxxxxx).
>
> @Arnd + @Greg: Should I split off still more or is a single patch for
> the remainder of drivers/misc fine?

I think a single patch for drivers/misc/ (minus the eeprom ones)
makes most sense here, since it's really the same change across
all drivers. My rule of thumb for my own patches is that if
multiple files have the same change and the same patch
description, they should be a combined patch.

Arnd