diff options
| author | Christoph Hellwig <hch@lst.de> | 2004-09-07 18:00:17 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-09-07 18:00:17 -0700 |
| commit | 50baf47ee1b944404cf28f03de265f6b72ad4dd2 (patch) | |
| tree | f51177945d996adc8fedace0715db13dd30a6875 | |
| parent | d6f1815c602d2cdb4c92cf16ea1e4f5d3f796163 (diff) | |
[PATCH] don't mention MOD_{INC,DEC}_USE_COUNT in Documentation/
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
| -rw-r--r-- | Documentation/DocBook/mousedrivers.tmpl | 1 | ||||
| -rw-r--r-- | Documentation/cdrom/cdrom-standard.tex | 12 |
2 files changed, 5 insertions, 8 deletions
diff --git a/Documentation/DocBook/mousedrivers.tmpl b/Documentation/DocBook/mousedrivers.tmpl index 49a902fed766..8491969e6f16 100644 --- a/Documentation/DocBook/mousedrivers.tmpl +++ b/Documentation/DocBook/mousedrivers.tmpl @@ -940,7 +940,6 @@ static int close_mouse(struct inode *inode, struct file *file) if(--mouse_users) return 0; free_irq(OURMOUSE_IRQ, NULL); - MOD_DEC_USE_COUNT; return 0; } </programlisting> diff --git a/Documentation/cdrom/cdrom-standard.tex b/Documentation/cdrom/cdrom-standard.tex index 0a51967fe49e..92f94e597582 100644 --- a/Documentation/cdrom/cdrom-standard.tex +++ b/Documentation/cdrom/cdrom-standard.tex @@ -360,13 +360,11 @@ up the disc, etc. % and device-use count \subsection{$Void\ release(struct\ cdrom_device_info * cdi)$} -In case of module support, a single call $MOD_DEC_USE_COUNT$ should be -coded here. Possibly other device-specific actions should be taken -such as spinning down the device. However, strategic actions such as -ejection of the tray, or unlocking the door, should be left over to -the general routine $cdrom_release()$. Also, the invalidation of the -allocated buffers in the VFS is taken care of by the routine in -\cdromc. This is the only function returning type $void$. + +Device-specific actions should be taken such as spinning down the device. +However, strategic actions such as ejection of the tray, or unlocking +the door, should be left over to the general routine $cdrom_release()$. +This is the only function returning type $void$. \subsection{$Int\ drive_status(struct\ cdrom_device_info * cdi, int\ slot_nr)$} \label{drive status} |
