public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: LKML <linux-kernel@vger.kernel.org>
Cc: ACPI Devel Maling List <linux-acpi@vger.kernel.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	Len Brown <lenb@kernel.org>, Pavel Machek <pavel@ucw.cz>,
	pm list <linux-pm@lists.linux-foundation.org>
Subject: [PATCH 3/4] Remove definition of struct pm_dev
Date: Thu, 12 Jun 2008 10:30:25 +0200	[thread overview]
Message-ID: <200806121030.26099.rjw@sisk.pl> (raw)
In-Reply-To: <200806121025.24668.rjw@sisk.pl>

From: Rafael J. Wysocki <rjw@sisk.pl>

Remove the definition of 'struct pm_dev', which is not used any more,
along with some related stuff from include/linux/pm.h .

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
---
 include/linux/pm.h |   24 ------------------------
 1 file changed, 24 deletions(-)

Index: linux-2.6/include/linux/pm.h
===================================================================
--- linux-2.6.orig/include/linux/pm.h
+++ linux-2.6/include/linux/pm.h
@@ -68,30 +68,6 @@ enum
  */
 #define PM_PCI_ID(dev) ((dev)->bus->number << 16 | (dev)->devfn)
 
-/*
- * Request handler callback
- */
-struct pm_dev;
-
-typedef int (*pm_callback)(struct pm_dev *dev, pm_request_t rqst, void *data);
-
-/*
- * Dynamic device information
- */
-struct pm_dev
-{
-	pm_dev_t	 type;
-	unsigned long	 id;
-	pm_callback	 callback;
-	void		*data;
-
-	unsigned long	 flags;
-	unsigned long	 state;
-	unsigned long	 prev_state;
-
-	struct list_head entry;
-};
-
 /* Functions above this comment are list-based old-style power
  * management. Please avoid using them.  */
 

  parent reply	other threads:[~2008-06-12  8:37 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-12  8:25 [PATCH 0/4] Remove some obsolete PM stuff Rafael J. Wysocki
2008-06-12  8:27 ` [PATCH 1/4] x86: Remove obsolete PM definitions from NMI header Rafael J. Wysocki
2008-06-12  9:15   ` Ingo Molnar
2008-06-12  8:29 ` [PATCH 2/4] Remove references to struct pm_dev from IRDA headers Rafael J. Wysocki
2008-06-12 13:09   ` Pavel Machek
2008-06-12  8:30 ` Rafael J. Wysocki [this message]
2008-06-12 13:10   ` [PATCH 3/4] Remove definition of struct pm_dev Pavel Machek
2008-06-12  8:31 ` [PATCH 4/4] Remove obsolete piece of PM documentation Rafael J. Wysocki
2008-06-12 13:12   ` Pavel Machek
2008-06-12 15:38     ` Randy Dunlap
2008-06-12 20:48       ` Rafael J. Wysocki
2008-06-12 20:51         ` Pavel Machek
2008-06-26 19:40           ` Len Brown
2008-06-26 20:34             ` Rafael J. Wysocki
2008-06-12  9:26 ` [PATCH - supplement] PM: Remove remaining obsolete definitions from pm.h (was: Re: [PATCH 0/4] Remove some obsolete PM stuff) Rafael J. Wysocki
2008-06-12 13:13   ` Pavel Machek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200806121030.26099.rjw@sisk.pl \
    --to=rjw@sisk.pl \
    --cc=akpm@linux-foundation.org \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@lists.linux-foundation.org \
    --cc=pavel@ucw.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox