git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] Pass a lock expression to __cond_lock, like __acquire and __release
[safe/jmp/linux-2.6]
/
include
/
linux
/
pm_legacy.h
diff --git
a/include/linux/pm_legacy.h
b/include/linux/pm_legacy.h
index
1252b45
..
514729a
100644
(file)
--- a/
include/linux/pm_legacy.h
+++ b/
include/linux/pm_legacy.h
@@
-1,7
+1,6
@@
#ifndef __LINUX_PM_LEGACY_H__
#define __LINUX_PM_LEGACY_H__
#ifndef __LINUX_PM_LEGACY_H__
#define __LINUX_PM_LEGACY_H__
-#include <linux/config.h>
#ifdef CONFIG_PM_LEGACY
#ifdef CONFIG_PM_LEGACY
@@
-16,16
+15,6
@@
struct pm_dev __deprecated *
pm_register(pm_dev_t type, unsigned long id, pm_callback callback);
/*
pm_register(pm_dev_t type, unsigned long id, pm_callback callback);
/*
- * Unregister a device with power management
- */
-void __deprecated pm_unregister(struct pm_dev *dev);
-
-/*
- * Unregister all devices with matching callback
- */
-void __deprecated pm_unregister_all(pm_callback callback);
-
-/*
* Send a request to all devices
*/
int __deprecated pm_send_all(pm_request_t rqst, void *data);
* Send a request to all devices
*/
int __deprecated pm_send_all(pm_request_t rqst, void *data);
@@
-41,10
+30,6
@@
static inline struct pm_dev *pm_register(pm_dev_t type,
return NULL;
}
return NULL;
}
-static inline void pm_unregister(struct pm_dev *dev) {}
-
-static inline void pm_unregister_all(pm_callback callback) {}
-
static inline int pm_send_all(pm_request_t rqst, void *data)
{
return 0;
static inline int pm_send_all(pm_request_t rqst, void *data)
{
return 0;