Re: [PATCH 1/8] regulator: Use container_of_const() when all types are const

From: Mark Brown

Date: Wed Nov 26 2025 - 12:33:17 EST


On Wed, Nov 26, 2025 at 05:58:44PM +0100, Krzysztof Kozlowski wrote:
> Use container_of_const(), which is preferred over container_of(), when
> the argument 'ptr' and returned pointer are already const, for better
> code safety and readability.

This doesn't apply against current code, please check and resend.

Attachment: signature.asc
Description: PGP signature