lkml.org 
[lkml]   [2015]   [May]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2] PM / sleep: Make ->enter_freeze callbacks depend on CONFIG_SUSPEND
On Mon, May 18, 2015 at 11:45:10PM +0200, Rafael J. Wysocki wrote:
> On Monday, May 18, 2015 02:18:26 PM Peter Zijlstra wrote:
> > On Sat, May 16, 2015 at 01:38:48AM +0200, Rafael J. Wysocki wrote:
> > > From: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
> > >
> > > The ->enter_freeze callbacks of cpuidle drivers are only used if
> > > CONFIG_SUSPEND is set, so make them explicitly depend on that
> > > Kconfig option.
> >
> > No real objection, but is it worth it to sprinkle that CONFIG stuff over
> > all drivers?
>
> Well, you maybe right that it isn't. The footprint is small anyway.
>
> What about [1/2]?

1/2 looks fine to me.


\
 
 \ /
  Last update: 2015-05-19 17:21    [W:0.404 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site