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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to