[PATCH v2 2/6] phy: core: Fix that API devm_of_phy_provider_unregister() fails to unregister the phy provider
Johan Hovold
johan at kernel.org
Tue Oct 29 09:20:37 PDT 2024
On Tue, Oct 29, 2024 at 11:35:48PM +0800, Zijun Hu wrote:
> On 2024/10/29 21:43, Johan Hovold wrote:
> > And you could consider dropping the function altogether as well.
>
> Remove the API devm_of_phy_provider_unregister()?
>
> i prefer fixing it instead of removing it based on below considerations.
>
> 1) it is simper. just about one line change.
> 2) the API may be used in future. the similar API of [PATCH 1/6] have 2
> usages.
We typically don't carry APIs that no one uses (or has ever used), but
sure, that can be done separately later if anyone cares.
Johan
More information about the linux-phy
mailing list