Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760616AbYCZQgr (ORCPT ); Wed, 26 Mar 2008 12:36:47 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757431AbYCZQgi (ORCPT ); Wed, 26 Mar 2008 12:36:38 -0400 Received: from iolanthe.rowland.org ([192.131.102.54]:54904 "HELO iolanthe.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1756993AbYCZQgh (ORCPT ); Wed, 26 Mar 2008 12:36:37 -0400 Date: Wed, 26 Mar 2008 12:36:36 -0400 (EDT) From: Alan Stern X-X-Sender: stern@iolanthe.rowland.org To: Oliver Neukum cc: "Rafael J. Wysocki" , ACPI Devel Maling List , , Alexey Starikovskiy , Johannes Berg , LKML Subject: Re: [linux-pm] [RFC][PATCH] PM: Introduce new top level =?iso-8859-1?q?suspend=09and_hibernation_callbacks?= (rev. 2) In-Reply-To: <200803261642.29801.oliver@neukum.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 784 Lines: 20 On Wed, 26 Mar 2008, Oliver Neukum wrote: > Am Mittwoch, 26. M?rz 2008 15:40:27 schrieb Alan Stern: > > Remember, the whole purpose of this is to let drivers know when the > > system is going to sleep or waking up. ?Proper handling of devices is > > up to the drivers, not up to the core. > > Then declare these methods void. We cannot introduce methods that deliberately > ignore errors. Reporting is also better done in the drivers. That decision is up to Rafael. Changing the methods to return void is okay with me. Alan Stern -- 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/