Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752628Ab1CQIVa (ORCPT ); Thu, 17 Mar 2011 04:21:30 -0400 Received: from linux-sh.org ([111.68.239.195]:52207 "EHLO linux-sh.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752138Ab1CQIV1 (ORCPT ); Thu, 17 Mar 2011 04:21:27 -0400 Date: Thu, 17 Mar 2011 17:20:17 +0900 From: Paul Mundt To: "R. J. Wysocki" Cc: LKML , Greg KH , Kay Sievers , Linux PM mailing list , Russell King , Magnus Damm , linux-sh@vger.kernel.org Subject: Re: [PATCH 9/10] sh: Use struct syscore_ops instead of sysdev class and sysdev Message-ID: <20110317082016.GB13315@linux-sh.org> References: <201103100131.58206.rjw@sisk.pl> <201103122212.40828.rjw@sisk.pl> <201103131402.48129.rjw@sisk.pl> <201103131403.49561.rwys@fuw.edu.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201103131403.49561.rwys@fuw.edu.pl> User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1179 Lines: 26 On Sun, Mar 13, 2011 at 02:03:49PM +0100, R. J. Wysocki wrote: > From: Rafael J. Wysocki > > Convert the SuperH clocks framework and shared interrupt handling > code to using struct syscore_ops instead of a sysdev classes and > sysdevs for power managment. > > This reduces the code size significantly and simplifies it. The > optimizations causing things not to be restored after creating a > hibernation image are removed, but they might lead to undesirable > effects during resume from hibernation (e.g. the clocks would be left > as the boot kernel set them, which might be not the same way as the > hibernated kernel had seen them before the hibernation). > > This also is necessary for removing sysdevs from the kernel entirely > in the future. > > Signed-off-by: Rafael J. Wysocki This misses the use of the sysdev class by the userimask code, though I'm open to suggestions for alternatives. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/