4 Sep
2017
4 Sep
'17
5:46 p.m.
On Lu, 2017-09-04 at 15:44 +0100, Mark Brown wrote:
On Mon, Sep 04, 2017 at 04:34:47PM +0200, Takashi Iwai wrote:
Daniel Baluta wrote:
Isn't it better to guard it with CONFIG_PM?
It's a matter of taste, and people seem prefer this option nowadays, so I follow that style.
The ifdefs are a complete pain every time someone decides they want to do something amusing with the configuration for PM or if people want to share things between the runtime and system suspend paths.
Fine by me. It's just that most of the time I've seen CONFIG_PM approach :).