Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030655AbWJKGLu (ORCPT ); Wed, 11 Oct 2006 02:11:50 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030647AbWJKGLL (ORCPT ); Wed, 11 Oct 2006 02:11:11 -0400 Received: from gateway.insightbb.com ([74.128.0.19]:17266 "EHLO asav00.insightbb.com") by vger.kernel.org with ESMTP id S1030655AbWJKGLI (ORCPT ); Wed, 11 Oct 2006 02:11:08 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AY8CAFonLEWMCCw Message-Id: <20061011060138.920913139.dtor@insightbb.com> Date: Wed, 11 Oct 2006 02:01:38 -0400 From: Dmitry Torokhov To: linux-pm@lists.osdl.org Cc: Greg KH , linux-kernel@vger.kernel.org, Andrew Morton , pavel@suse.cz, Kay Sievers Subject: [RFC/PATCH 0/3] Integrating struct class_device into power management framework Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 776 Lines: 21 Hi, The following patches integrate class devices into common PM framework. Classes can define 2 new methods: pause() and restart() that will be called at suspend and resume time respectively. This will ease hardware driver's tasks at suspend and resume time by moving common code into classes. The advantages of integrating class_device over moving to struct device: - no need to reshuffle entire kernel, subsystems can be converted one by one without a flag day; - struct device will not become a kitchen sink. -- Dmitry - 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/