public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/3] PM: runtime: Auto-cleanup macros for pm_runtime_resume_and_get()
@ 2025-09-19 16:34 Rafael J. Wysocki
  2025-09-19 16:35 ` [PATCH v1 1/3] PM: runtime: Add auto-cleanup " Rafael J. Wysocki
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Rafael J. Wysocki @ 2025-09-19 16:34 UTC (permalink / raw)
  To: Linux PM
  Cc: LKML, Linux PCI, Alex Williamson, Bjorn Helgaas, Takashi Iwai,
	Zhang Qilong, Ulf Hansson

Hi All,

This series adds two auto-cleanup macros for runtime PM usage counter
incrementations carried out by pm_runtime_resume_and_get() ([1/3]),
converts the only user of the previously introduced DEFINE_FREE()
macro for pm_runtime_put() to using one of the new macros ([2/3]),
and drops the DEFINE_FREE() mentioned above ([3/3]).

The new macros should be somewhat more straightforward to use than
the existing _FREE and they enforce error handling.

Thanks!




^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2025-09-26 18:24 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-19 16:34 [PATCH v1 0/3] PM: runtime: Auto-cleanup macros for pm_runtime_resume_and_get() Rafael J. Wysocki
2025-09-19 16:35 ` [PATCH v1 1/3] PM: runtime: Add auto-cleanup " Rafael J. Wysocki
2025-09-19 16:38 ` [PATCH v1 2/3] PCI/sysfs: Use PM runtime class macro for auto cleanup in reset_method_store() Rafael J. Wysocki
2025-09-26 13:49   ` Jonathan Cameron
2025-09-26 14:36     ` Rafael J. Wysocki
2025-09-26 18:13       ` dan.j.williams
2025-09-26 18:23         ` Rafael J. Wysocki
2025-09-19 16:40 ` [PATCH v1 3/3] PM: runtime: Drop DEFINE_FREE() for pm_runtime_put Rafael J. Wysocki
2025-09-20  6:37 ` [PATCH v1 0/3] PM: runtime: Auto-cleanup macros for pm_runtime_resume_and_get() Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox