diff options
| author | Alison Schofield <alison.schofield@intel.com> | 2026-07-24 15:28:02 -0700 |
|---|---|---|
| committer | Dave Jiang <dave.jiang@intel.com> | 2026-07-24 15:37:27 -0700 |
| commit | bad0aa134b64f38e29fb3e61176c15680afe8a04 (patch) | |
| tree | 59fda86a2ec952ef7ad0799c78578472f40632a3 /scripts/Makefile.thinlto | |
| parent | 15da704b732332cc1e8f121f624e5e6c05124c5d (diff) | |
| download | linux-stable-bad0aa134b64f38e29fb3e61176c15680afe8a04.tar.gz linux-stable-bad0aa134b64f38e29fb3e61176c15680afe8a04.zip | |
cxl/region: Use __free(put_device) in find_pos_and_ways()
Use __free(put_device) for the switch decoder reference returned by
device_find_child() instead of releasing it with an open-coded
put_device().
This matches the scoped device reference handling used elsewhere in
the file.
Suggested-by: Li Ming <ming.li@zohomail.com>
Reviewed-by: Li Ming <ming.li@zohomail.com>
Signed-off-by: Alison Schofield <alison.schofield@intel.com>
Link: https://patch.msgid.link/550db1771b3d30277988d3e575f1a6893a26b0ae.1784931354.git.alison.schofield@intel.com
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
