Skip to content

Commit

Permalink
pm: remove definition of struct pm_dev
Browse files Browse the repository at this point in the history
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>
Acked-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Rafael J. Wysocki authored and Linus Torvalds committed Jul 24, 2008
1 parent d75f65f commit 558481f
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions include/linux/pm.h
Original file line number Diff line number Diff line change
Expand Up @@ -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. */

Expand Down

0 comments on commit 558481f

Please sign in to comment.