CONFIG_REMOVE

Sent to notify the driver that the associated device node is being removed from the hardware tree. The driver should deallocate any instance data for the device node and take whatever other measures are necessary to stop using the device node, the associated hardware, and the allocated configuration.

scfSubFunc

Subfunction number. Can be one of these values:

CONFIG_REMOVE_DYNAMIC

Removes a dynamically-loaded driver.

CONFIG_REMOVE_SHUTDOWN

Removes a driver as part of system shutdown.


This message is not always preceded by the CONFIG_TEST_CAN_REMOVE message.

Use the CONFIGMG_Get_First_Log_Conf or CONFIGMG_Get_Alloc_Log_Conf to retrieve the allocated logical configuration (ALLOC_LOG_CONF) for this device node.