Re: [PATCH v3 2/4] phy: Add API for devm_of_phy_optional_get_by_index

2021-04-15 Thread Kishon Vijay Abraham I
Hi Aswath, On 15/04/21 8:19 pm, Aswath Govindraju wrote: > Add API for devm_of_phy_optional_get_by_index, to obtain a reference to an > optional phy by index. Rob has posted a patch http://lore.kernel.org/r/20210414135525.3535787-1-r...@kernel.org that doesn't require consumers to get a phy by us

[PATCH v3 2/4] phy: Add API for devm_of_phy_optional_get_by_index

2021-04-15 Thread Aswath Govindraju
Add API for devm_of_phy_optional_get_by_index, to obtain a reference to an optional phy by index. Signed-off-by: Aswath Govindraju --- drivers/phy/phy-core.c | 26 ++ include/linux/phy/phy.h | 2 ++ 2 files changed, 28 insertions(+) diff --git a/drivers/phy/phy-core.c