Re: (subset) [PATCH v4] mfd: twl-core: Embed the twl_client array in twl_private
From: Lee Jones
Date: Wed Oct 28 2026 - 10:36:29 EST
On Fri, 16 Oct 2026 17:47:58 -0700, Rosen Penev wrote:
> At most four I2C slave addresses are ever used (TWL4030 class), so
> there is no need to allocate the twl_client array separately. Embed a
> fixed array of TWL_MAX_SLAVES entries in struct twl_private and drop the
> extra devm_kcalloc() and its error handling.
Applied, thanks!
[1/1] mfd: twl-core: Embed the twl_client array in twl_private
commit: 73f3a89d27c3da9ea28750a420fa2567c0bc1701
--
Lee Jones [李琼斯]