Re: [PATCH 1/2] mfd: Constify mfd_cell arrays
From: Thomas Weißschuh
Date: Fri Oct 30 2026 - 04:47:44 EST
On Fri, Oct 30, 2026 at 08:11:38AM +0100, Krzysztof Kozlowski wrote:
> mfd_add_devices() takes pointer to const, so 'struct mfd_cell' arrays
> can be constified whenever driver does not modify it in the probe.
Looks like a candidate for scripts/const_structs.checkpatch.
(...)
Thomas