Re: [PATCH 2/3] bus: add Wiegand bus driver

From: Arnd Bergmann
Date: Wed Jan 25 2023 - 08:16:30 EST


On Wed, Jan 25, 2023, at 14:05, Martin Zaťovič wrote:
> Hello Greg,
>
> thank you for your insights! The static lists are needed
> for matching wiegand_board_info structures to
> wiegand_controller structures for drivers of devices that
> do not use devicetree. I have seen this approach in the
> SPI bus driver, so I assumed it was okay. If there is
> a better way, please let me know.

We have removed most of the support for machines that come
without devicetree, and it is unlikely that we will be merging
any new ones, so I expect this can simply be left out.

Are there any corner cases where you you still expect to
add devices manually from another driver?

Arnd