]> git.hungrycats.org Git - linux/commitdiff
[PATCH] don't mention MOD_{INC,DEC}_USE_COUNT in Documentation/
authorChristoph Hellwig <hch@lst.de>
Wed, 8 Sep 2004 01:00:17 +0000 (18:00 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Wed, 8 Sep 2004 01:00:17 +0000 (18:00 -0700)
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Documentation/DocBook/mousedrivers.tmpl
Documentation/cdrom/cdrom-standard.tex

index 49a902fed766219ea4dec43cc39f6d4947e6ff96..8491969e6f16ac6738f6abf39d16708b890a9297 100644 (file)
@@ -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>
index 0a51967fe49e0f392422e3138111f29a73e316c8..92f94e59758229cb395a8acd28ebf8f3eb59b27f 100644 (file)
@@ -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}