[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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
7e4ef085ea
commit
26865e9c26
@@ -14,11 +14,6 @@ extern int pm_active;
|
||||
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
|
||||
*/
|
||||
@@ -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;
|
||||
|
Reference in New Issue
Block a user