[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y7WHjD4psjgAAyPd@kroah.com>
Date: Wed, 4 Jan 2023 15:05:00 +0100
From: Greg KH <gregkh@...uxfoundation.org>
To: Martin Zaťovič <m.zatovic1@...il.com>
Cc: linux-kernel@...r.kernel.org, devicetree@...r.kernel.org,
mani@...nel.org, hemantk@...eaurora.org, quic_jhugo@...cinc.com,
andersson@...nel.org, Michael.Srba@...nam.cz, arnd@...db.de,
dipenp@...dia.com, bvanassche@....org, iwona.winiarska@...el.com,
ogabbay@...nel.org, tzimmermann@...e.de, fmdefrancesco@...il.com,
jason.m.bills@...ux.intel.com, jae.hyun.yoo@...ux.intel.com,
krzysztof.kozlowski+dt@...aro.org, robh+dt@...nel.org
Subject: Re: [PATCH 2/3] bus: add Wiegand bus driver
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
Powered by blists - more mailing lists