Re: [PATCH] iio: Move MODULE_DEVICE_TABLE next to the table itself

From: Krzysztof Kozlowski

Date: Tue May 05 2026 - 06:58:54 EST


On 05/05/2026 12:49, Jonathan Cameron wrote:
> On Tue, 5 May 2026 12:29:04 +0200
> Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxxxxx> wrote:
>
>> By convention MODULE_DEVICE_TABLE() immediately follows the ID table it
>> exports, because this is easier to read and verify. It also makes more
>> sense since #ifdef for ACPI or OF could hide both of them.
>>
>> Most of the privers already have this correctly placed, so adjust
> drivers
>> the missing ones. No functional impact.

Oh, damn, I just sent 20 other patches like that with the typo. I did
spellcheck but earlier patch and then changed this and...

Best regards,
Krzysztof