Re: [RFC/PATCH 0/3] pm: Make SET_*_PM_OPS() macros more smart

2013-12-18 Thread David Cohen
On Thu, Dec 12, 2013 at 09:18:22PM -0800, David Cohen wrote: > Hi, > > These patches are proposal to extend the lack of #ifdef checks on PM callback > to its implementation too. > > Currently SET_*_PM_OPS() macros make #ifdefs checks not necessary when setting > the callback to PM ops, but the ca

[RFC/PATCH 0/3] pm: Make SET_*_PM_OPS() macros more smart

2013-12-12 Thread David Cohen
Hi, These patches are proposal to extend the lack of #ifdef checks on PM callback to its implementation too. Currently SET_*_PM_OPS() macros make #ifdefs checks not necessary when setting the callback to PM ops, but the callbacks implementation don't see same benefit. This RFC Solves a problem r