diff options
| author | Dan Williams <djbw@kernel.org> | 2026-08-03 17:18:01 -0500 |
|---|---|---|
| committer | Dave Jiang <dave.jiang@intel.com> | 2026-08-05 13:46:43 -0700 |
| commit | 658fb50cc8882608dc72dfa6b2e052f87d265ce6 (patch) | |
| tree | 5c165dbce01754ce138b6d3d9ebc46f05161a437 /scripts | |
| parent | 59a37f9200688916650e1d60774c90f023c79b57 (diff) | |
| download | linux-658fb50cc8882608dc72dfa6b2e052f87d265ce6.tar.gz linux-658fb50cc8882608dc72dfa6b2e052f87d265ce6.zip | |
cxl: Rename find_cxl_port() to find_cxl_port_by_dport()
find_cxl_port() and find_cxl_port_by_uport() are internal port lookup
functions that search the CXL bus by dport and uport respectively, but
their names do not make the lookup method clear.
Rename find_cxl_port() to find_cxl_port_by_dport() to make the lookup
method explicit and consistent with find_cxl_port_by_uport(). Both
functions remain static to port.c; the upcoming patch that adds the
first cross-file caller will widen their scope.
Make the same naming change to static helper __find_cxl_port_by_dport().
Co-developed-by: Terry Bowman <terry.bowman@amd.com>
Signed-off-by: Terry Bowman <terry.bowman@amd.com>
Signed-off-by: Dan Williams <djbw@kernel.org>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Reviewed-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com>
Reviewed-by: Alison Schofield <alison.schofield@intel.com>
Reviewed-by: Jonathan Cameron <jic23@kernel.org>
Link: https://patch.msgid.link/20260803221810.3685703-6-terry.bowman@amd.com
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
