table of contents
other versions
- jessie 3.16.56-1+deb8u1
DEVM_ADD_ACTION(9) | Driver Basics | DEVM_ADD_ACTION(9) |
NAME¶
devm_add_action - add a custom action to list of managed resourcesSYNOPSIS¶
int
devm_add_action(struct device * dev,
void (*action) (void *),
void * data);
ARGUMENTS¶
devDevice that owns the action
action
Function that should be called
data
Pointer to data passed to action
implementation
DESCRIPTION¶
This adds a custom action to the list of managed resources so that it gets executed as part of standard resource unwinding.COPYRIGHT¶
May 2018 | Kernel Hackers Manual 3.16 |