Re: [PATCH v2 1/1] regmap: Drop unused devm_regmap_*_free() APIs

From: Mark Brown
Date: Thu Jan 16 2025 - 11:15:19 EST


On Thu, Jan 16, 2025 at 02:43:30PM +0200, Andy Shevchenko wrote:
> Besides the fact that currently defined devm_*_free() APIs
> are being unused, it's usually a sign of bad design to call
> such explicitly. Drop them and make people pay more attention
> on the misuse of devm_regmap_*() APIs,

This just seems unhelpful, there's fairly obvious uses for something
like this where we decide we can't actually use some things based on
what we discover during probe.

Attachment: signature.asc
Description: PGP signature