Re: [PATCH v4 4/5] phy: core: Add managed phy bulk data helper functions
From: Andy Shevchenko
Date: Wed Sep 30 2026 - 05:44:53 EST
On Wed, Sep 30, 2026 at 05:21:08PM +0800, Inochi Amaoto wrote:
> On Wed, Sep 30, 2026 at 11:29:01AM +0300, Andy Shevchenko wrote:
> > On Tue, Sep 29, 2026 at 04:52:34PM +0800, Inochi Amaoto wrote:
...
> > Why not an error? I do not see the _optional word in the function name.
>
> IIRC get_all it a special optional meaning: treat not existing device as
> 0, this follows the same meaning like clk. Vladimir has a good explaination
> on this in the previous version:
> https://lore.kernel.org/linux-phy/20260907124318.6q4rr2huxyehm3zs@skbuf/
Thank you for the pointer. Perhaps add a short comment or a sentence into
kernel-doc to summarize that reasoning?
--
With Best Regards,
Andy Shevchenko