summaryrefslogtreecommitdiffstats
path: root/drivers/zorro/zorro.h
diff options
context:
space:
mode:
authorJason Yan <yanaijie@huawei.com>2022-09-28 15:01:25 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2022-10-18 03:28:09 +0000
commitec64858657a8c393e2ae956d37c23bf94aee8200 (patch)
treef614ed1673b403d4e0cc38ecc7b63712bdf7fa23 /drivers/zorro/zorro.h
parent2d08f329a4f2eace6b041d60132f441fc8e0b616 (diff)
downloadlinux-stable-ec64858657a8c393e2ae956d37c23bf94aee8200.tar.gz
linux-stable-ec64858657a8c393e2ae956d37c23bf94aee8200.tar.bz2
linux-stable-ec64858657a8c393e2ae956d37c23bf94aee8200.zip
scsi: pm8001: Use sas_find_attached_phy_id() instead of open coding it
The attached phy id finding is open coded. Replace it with sas_find_attached_phy_id(). To keep things consistent, the return value of pm8001_dev_found_notify() is also changed to -ENODEV after calling sas_find_attathed_phy_id() failed. Signed-off-by: Jason Yan <yanaijie@huawei.com> Link: https://lore.kernel.org/r/20220928070130.3657183-4-yanaijie@huawei.com Reviewed-by: Jack Wang <jinpu.wang@ionos.com> Reviewed-by: Damien Le Moal <damien.lemoal@opensource.wdc.com> Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/zorro/zorro.h')
0 files changed, 0 insertions, 0 deletions