PM_Delete[Pre|Post]ExitCallback

Syntax

#include <twl/spi.h>
void PM_DeletePreExitCallback( PMExitCallbackInfo *info );
void PM_DeletePostExitCallback( PMExitCallbackInfo *info );
  

Arguments

info Pointer to a structure that stores the information for the callback to be deleted.

Return Values

None.

Description

Deletes an exit callback.
Removes an exit callback, invoked at hardware rest or power-off, from the list to which it was registered. The info pointer indicates the PMExitCallbackInfo structure holding the callback information.

The PM_DeletePreExitCallback function removes callbacks from the pre-processing list.

The PM_DeletePostExitCallback function removes callbacks from the post-processing list.

Does nothing if the specified callback does not exist in the list.

See Also

PM_AppendPreExitCallback
PM_AppendPostExitCallback
PM_PrependPreExitCallback
PM_PrependPostExitCallback
PM_InsertPreExitCallback
PM_InsertPostExitCallback

Revision History

2008/02/07 Initial version.


CONFIDENTIAL