diff options
author | Jason Yan <[email protected]> | 2022-09-28 15:01:25 +0800 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2022-10-18 03:28:09 +0000 |
commit | ec64858657a8c393e2ae956d37c23bf94aee8200 (patch) | |
tree | f614ed1673b403d4e0cc38ecc7b63712bdf7fa23 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 2d08f329a4f2eace6b041d60132f441fc8e0b616 (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Jack Wang <[email protected]>
Reviewed-by: Damien Le Moal <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions