Name

pm_unregister_all — unregister all devices with matching callback

Synopsis

void pm_unregister_all (pm_callback callback);

Arguments

callback

callback function pointer

Description

Unregister every device that would call the callback passed. This is primarily meant as a helper function for loadable modules. It enables a module to give up all its managed devices without keeping its own private list.