[PATCH] cpufreq annoying warning fix
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 2 May 2005 06:25:10 +0000 (16:25 +1000)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 2 May 2005 15:15:22 +0000 (08:15 -0700)
commitac09f698f1cda91e890fb75f4cb38253d60ff017
treef71a88464e5b5cb3f5246367bcc8ea0890f5fb0d
parente521dca64e0f82d844928c5ee88d82fdced50cbe
[PATCH] cpufreq annoying warning fix

The cpufreq core patch I sent earlier got only half-applied.  I added a
flag to let the low level driver disable an annoying warning on
suspend/resume that is normal on ppc, but the "resume" part of it wasn't
applied.

This just adds back that missing bit.  The original patch also reworked
the resume() function to avoid nesting too many if () statements along
the way I did the suspend() one, but I didn't include that in the patch
below.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/cpufreq/cpufreq.c