linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Something like devm_pm_runtime_enable desirable?
@ 2017-11-26 23:13 Heiner Kallweit
  2017-11-27  1:21 ` Rafael J. Wysocki
  0 siblings, 1 reply; 4+ messages in thread
From: Heiner Kallweit @ 2017-11-26 23:13 UTC (permalink / raw)
  To: Rafael J. Wysocki; +Cc: linux-pm

I have a runtime pm enabled driver which uses device-managed resources
only and therefore wouldn't need a remove callback. The remove callback
does pm_runtime_disable only.
Therefore I'm wondering whether something like devm_pm_runtime_enable
would be desirable doing the pm_runtime_disable automagically.

I can't really imagine that I'm the first one with this idea so I
guess there is some reason why it doesn't exist yet ..

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

end of thread, other threads:[~2017-11-28 22:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-26 23:13 Something like devm_pm_runtime_enable desirable? Heiner Kallweit
2017-11-27  1:21 ` Rafael J. Wysocki
2017-11-28 21:12   ` Heiner Kallweit
2017-11-28 22:04     ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).