aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/cdx/controller/mcdi_functions.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2025-09-26 18:24:05 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2025-09-29 17:01:47 +0200
commit8ff5aaa7b8c9fb3e66df6f440ee109d00f8d7a1b (patch)
tree7d31fb8d5c2fd029095a8f1954742a705556fdc2 /drivers/cdx/controller/mcdi_functions.c
parentPM: runtime: Add auto-cleanup macros for "resume and get" operations (diff)
downloadlinux-8ff5aaa7b8c9fb3e66df6f440ee109d00f8d7a1b.tar.gz
linux-8ff5aaa7b8c9fb3e66df6f440ee109d00f8d7a1b.zip
PCI/sysfs: Use runtime PM guard macro for auto-cleanup
Use the newly introduced pm_runtime_active_try guard to simplify the code and add the proper error handling for PM runtime resume errors. Based on an earlier patch from Takashi Iwai <tiwai@suse.de> [1]. Link: https://patch.msgid.link/20250919163147.4743-3-tiwai@suse.de [1] Acked-by: Bjorn Helgaas <bhelgaas@google.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Takashi Iwai <tiwai@suse.de> Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Diffstat (limited to 'drivers/cdx/controller/mcdi_functions.c')
0 files changed, 0 insertions, 0 deletions