[PATCH v2 1/2] mfd: Constify mfd_cell arrays

Lee Jones lee at kernel.org
Fri Nov 13 06:35:12 PST 2026


On Fri, 30 Oct 2026 15:02:41 +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.

Applied, thanks!

[1/2] mfd: Constify mfd_cell arrays
      commit: acf1fcf6862f960de957e6cf5fd0977475f6be55
[2/2] mfd: cgbc: Allow compile testing
      commit: 82d717c9c8956f5894e08e112f4aae72023cec86

--
Lee Jones [李琼斯]




More information about the linux-arm-kernel mailing list