Re: [U-Boot] [PATCH v4 3/5] drivers: phy: Set phy->dev to NULL when generic_phy_get_by_index() fails
On 29 May 2017 at 01:57,wrote: > From: Patrice Chotard > > phy->dev need to be set to NULL in case of generic_phy_get_by_index() > fails. Then phy->dev can be used to check if the phy is valid > > Reported-by: Jean-Jacques Hiblot
[U-Boot] [PATCH v4 3/5] drivers: phy: Set phy->dev to NULL when generic_phy_get_by_index() fails
From: Patrice Chotardphy->dev need to be set to NULL in case of generic_phy_get_by_index() fails. Then phy->dev can be used to check if the phy is valid Reported-by: Jean-Jacques Hiblot Signed-off-by: Patrice Chotard --- v4: