ATTRIBUTE_CONTAINER_REMOVE_DEVICE

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

attribute_container_remove_device - make device eligible for removal.  

SYNOPSIS

"SYNOPSIS"

void attribute_container_remove_device (struct device * dev, void (*fn) struct attribute_container *, struct device *, struct class_device *);  

ARGUMENTS

dev
The generic device
fn
A function to call to remove the device
 

DESCRIPTION

This routine triggers device removal. If fn is NULL, then it is simply done via class_device_unregister (note that if something still has a reference to the classdev, then the memory occupied will not be freed until the classdev is released). If you want a  

DESCRIPTION

This routine triggers device removal. If fn is NULL, then it is simply done via class_device_unregister (note that if something still has a reference to the classdev, then the memory occupied will not be freed until the classdev is released). If you want a  

TWO PHASE RELEASE

remove from visibility and then delete the device, then you should use this routine with a fn that calls class_device_del and then use attribute_container_device_trigger to do the final put on the classdev.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
DESCRIPTION
TWO PHASE RELEASE

This document was created by man2html, using the manual pages.
Time: 00:01:57 GMT, October 09, 2005