Contents

deRegisterInterestedDriver

De-registers power state interest from a previous call to registerInterestedDriver.

Declaration

IOReturn deRegisterInterestedDriver(
 IOService *theDriver );

Parameters

  • theDriver:

    The interested driver previously passed into registerInterestedDriver.

Return Value

A return code that can be ignored by the caller.

Overview

The retain from registerInterestedDriver is released. This method is synchronous against any powerStateWillChangeTo or powerStateDidChangeTo call targeting the interested driver, so when this method returns it is guaranteed those interest handlers will not be entered. Most drivers do not need to override deRegisterInterestedDriver.

See Also

Miscellaneous