Messages in this thread | | | Date | Mon, 18 May 2015 18:54:16 +0200 | From | Lars-Peter Clausen <> | Subject | Re: [RFC PATCH 0/2] Introduce PM runtime helper functions |
| |
On 05/18/2015 06:25 PM, Daniel Baluta wrote: > Working on a new driver I noticed that there is a fair amount of duplicate > code for adding PM runtime support. > > First patch refactors the PM runtime support in a new header > <linux/iio/pm_runtime> introducing functions for setup/cleanup and > set power state.
Makes sense, but none of the functions look awfully IIO specific. I'd say these are helper functions that belong into the PM core itself.
- Lars
| |