Commit 50baf47e authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Linus Torvalds

[PATCH] don't mention MOD_{INC,DEC}_USE_COUNT in Documentation/

Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent d6f1815c
......@@ -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>
......
......@@ -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}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment