[PATCH 1/2] mfd: Constify mfd_cell arrays
Charles Keepax
ckeepax at opensource.cirrus.com
Fri Oct 30 02:23:27 PDT 2026
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.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski at oss.qualcomm.com>
> ---
> drivers/mfd/wm97xx-core.c | 2 +-
Acked-by: Charles Keepax <ckeepax at opensource.cirrus.com>
Thanks,
Charles
More information about the linux-arm-kernel
mailing list