centos man page for devres_add

Query: devres_add

OS: centos

Section: 9

Links: centos man pages   all man pages

Forums: unix linux community   forum categories

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

DEVRES_ADD(9)							   Driver Basics						     DEVRES_ADD(9)

NAME
devres_add - Register device resource
SYNOPSIS
void devres_add(struct device * dev, void * res);
ARGUMENTS
dev Device to add resource to res Resource to register
DESCRIPTION
Register devres res to dev. res should have been allocated using devres_alloc. On driver detach, the associated release function will be invoked and devres will be freed automatically.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 DEVRES_ADD(9)
Related Man Pages
timerclear(3) - netbsd
timerisset(3) - netbsd
bus_adjust_resource(9) - freebsd
bus_release_resource(9) - linux
bus_release_resource(9) - osx
Similar Topics in the Unix Linux Community
Weird 'find' results
Set hard block limit for user using quota
Best performance UNIX just for HOST Virtualization?
How to increment version inside a file?
[TIP] Processing YAML files with yq