SYNOPSIS
- int drm_release(struct inode * inode, struct file * filp);
ARGUMENTS
inode
-
- device inode
filp
- file pointer.
DESCRIPTION
This function must be used by drivers as their .release #file_operations method. It frees any resources associated with the open file, and if this is the last open file for the DRM device also proceeds to call drm_lastclose.
RETURNS
Always succeeds and returns 0.
AUTHORS
Jesse Barnes <[email protected]>
Intel Corporation,
- Initial version
Laurent Pinchart <[email protected]>
Ideas on board SPRL,
- Driver internals
Daniel Vetter <[email protected]>
Intel Corporation,
- Contributions all over the place
Lukas Wunner <[email protected]>
- vga_switcheroo documentation
COPYRIGHT