summaryrefslogtreecommitdiffstats
path: root/include/linux/pm_legacy.h
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-06-30 02:15:43 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2006-07-12 16:09:08 -0700
commit26865e9c26d2d336f385b821b531ce2b31008e20 (patch)
tree7d170186b733aedc15570cf20c44d388c593c9cd /include/linux/pm_legacy.h
parent7e4ef085ea4b00cfc34e854edf448c729de8a0a5 (diff)
downloadlinux-26865e9c26d2d336f385b821b531ce2b31008e20.tar.gz
linux-26865e9c26d2d336f385b821b531ce2b31008e20.tar.bz2
linux-26865e9c26d2d336f385b821b531ce2b31008e20.zip
[PATCH] remove kernel/power/pm.c:pm_unregister_all()
Remove the deprecated and no longer used pm_unregister_all(). Signed-off-by: Adrian Bunk <bunk@stusta.de> Acked-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/pm_legacy.h')
-rw-r--r--include/linux/pm_legacy.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/pm_legacy.h b/include/linux/pm_legacy.h
index 78027c533b94..514729a44688 100644
--- a/include/linux/pm_legacy.h
+++ b/include/linux/pm_legacy.h
@@ -15,11 +15,6 @@ struct pm_dev __deprecated *
pm_register(pm_dev_t type, unsigned long id, pm_callback callback);
/*
- * 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);
@@ -35,8 +30,6 @@ static inline struct pm_dev *pm_register(pm_dev_t type,
return NULL;
}
-static inline void pm_unregister_all(pm_callback callback) {}
-
static inline int pm_send_all(pm_request_t rqst, void *data)
{
return 0;