Re: [PATCH v1 2/4] regmap: Drop never used devm_regmap_*_free() APIs
From: Mark Brown
Date: Wed Nov 11 2026 - 14:11:21 EST
> devm_regmap_field_free() was introduced in 2013 and was never ever used.
> devm_regmap_field_bulk_free() was introduced in 2020 and the same story.
>
> Drop never used APIs.
I tend to think that if we have allocation functions we should have
matching release functions, this avoids cross tree annoyances and bugs
due to people using inappropriate release functions which actually
exist rather than adding the ones they should use.
--
Mark Brown <broonie@xxxxxxxxxx>