lkml.org 
[lkml]   [2015]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2015-05-18 19:21    [W:0.048 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site