On 28/09/2022 08:01, Jason Yan wrote:
The attached phy finding is open coded. Now we can replace it with sas_find_attached_phy_id(). To keep consistent, the return value of hisi_sas_dev_found() is also changed to -ENODEV after calling sas_find_attathed_phy_id() failed. Signed-off-by: Jason Yan<yanaijie@xxxxxxxxxx> Reviewed-by: Jack Wang<jinpu.wang@xxxxxxxxx> Reviewed-by: Damien Le Moal<damien.lemoal@xxxxxxxxxxxxxxxxxx> ---
Acked-by: John Garry <john.garry@xxxxxxxxxx>