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-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html