Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755417Ab1C1TmB (ORCPT ); Mon, 28 Mar 2011 15:42:01 -0400 Received: from ogre.sisk.pl ([217.79.144.158]:49279 "EHLO ogre.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754889Ab1C1Tl7 (ORCPT ); Mon, 28 Mar 2011 15:41:59 -0400 From: "Rafael J. Wysocki" To: Ben Dooks Subject: Re: [PATCH 6/7] ARM / Samsung: Use struct syscore_ops for "core" power management Date: Mon, 28 Mar 2011 21:42:21 +0200 User-Agent: KMail/1.13.6 (Linux/2.6.38+; KDE/4.6.0; x86_64; ; ) Cc: LKML , Kevin Hilman , Russell King , Greg KH , Kay Sievers , Linux PM mailing list , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <201103280125.11750.rjw@sisk.pl> <201103280129.50192.rjw@sisk.pl> <20110327234521.GH9995@trinity.fluff.org> In-Reply-To: <20110327234521.GH9995@trinity.fluff.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201103282142.21810.rjw@sisk.pl> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1181 Lines: 28 On Monday, March 28, 2011, Ben Dooks wrote: > On Mon, Mar 28, 2011 at 01:29:49AM +0200, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > Replace sysdev classes and struct sys_device objects used for "core" > > power management by Samsung platforms with struct syscore_ops objects > > that are simpler. > > > > This generally reduces the code size and the kernel memory footprint. > > It also is necessary for removing sysdevs entirely from the kernel in > > the future. > > Hmm, does it still allow the system to choose which bits are bound > depending on the cpu being registered, as for the s3c stuff it isn't > just about the suspend/resume, it's binding items that get registered > early in the startup sequence? The registering is still done through sysdevs, the syscore_ops are only used for power management. I did my best to retain the existing flow of control as far as possible. Thanks, Rafael -- 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/