On Wed, Jan 04, 2023 at 02:34:13PM +0100, Martin Zaťovič wrote: > +struct boardinfo { > + struct list_head list; > + struct wiegand_board_info board_info; > +}; > + > +static LIST_HEAD(board_list); > +static LIST_HEAD(wiegand_controller_list); Why are all of these needed at all? Shouldn't the driver core handle the bus list logic for you? Why do you need a separate static list as well? thanks, greg k-h