Re: [RFC PATCH 0/2] Introduce PM runtime helper functions

From: Lars-Peter Clausen
Date: Mon May 18 2015 - 12:54:26 EST


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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/