[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <d7f71016-4211-4d59-9d8b-53c47ec47096@app.fastmail.com>
Date: Mon, 14 Oct 2024 14:52:25 +0000
From: "Arnd Bergmann" <arnd@...db.de>
To: "Andrew Davis" <afd@...com>, "Jassi Brar" <jassisinghbrar@...il.com>,
"Bjorn Andersson" <andersson@...nel.org>,
"Mathieu Poirier" <mathieu.poirier@...aro.org>,
"Martyn Welch" <martyn.welch@...labora.com>, "Hari Nagalla" <hnagalla@...com>
Cc: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] mailbox: ti-msgmgr: Remove use of of_match_ptr() helper
On Mon, Oct 14, 2024, at 14:48, Andrew Davis wrote:
> When OF support is disabled the of_device_id struct match table can be
> conditionally compiled out, this helper allows the assignment to also be
> turned into a NULL conditionally. When the of_device_id struct is not
> conditionally defined based on OF then the table will be unused causing a
> warning. The two options are to either set the table as _maybe_unused, or
> to just remove this helper since the table will always be defined.
> Do the latter here.
>
> Signed-off-by: Andrew Davis <afd@...com>
Acked-by: Arnd Bergmann <arnd@...db.de>
Powered by blists - more mailing lists