Re: [RFC PATCH v2 1/4] regulator: Add helper function to get "poweroff-source" property

From: Mark Brown
Date: Mon Oct 13 2014 - 09:13:38 EST


On Tue, Oct 07, 2014 at 07:45:01PM +0000, Romain Perier wrote:
> Several drivers create their own devicetree property when they register
> poweroff capabilities. This is for example the case for mfd, regulator

This seems fine from a code point of view but as discussed it's probably
better placed outside of the regulator API. Making it a static inline
doesn't seem like a bad idea either.

Attachment: signature.asc
Description: Digital signature