summaryrefslogtreecommitdiffstats
path: root/Documentation/DocBook/writing_usb_driver.tmpl
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-10-03 22:17:48 +0200
committerAdrian Bunk <bunk@stusta.de>2006-10-03 22:17:48 +0200
commitbf6ee0ae494596aaf311e8430684db85d1d2f25c (patch)
tree80af10d1539d20ed00ffe19bb5af51cd6a976a19 /Documentation/DocBook/writing_usb_driver.tmpl
parent0a8fe0d756fba2953462cec6db09c81dd732d0b5 (diff)
downloadop-kernel-dev-bf6ee0ae494596aaf311e8430684db85d1d2f25c.zip
op-kernel-dev-bf6ee0ae494596aaf311e8430684db85d1d2f25c.tar.gz
remove mentionings of devfs in documentation
Now that devfs is removed, there's no longer any need to document how to do this or that with devfs. This patch includes some improvements by Joe Perches. Signed-off-by: Adrian Bunk <bunk@stusta.de>
Diffstat (limited to 'Documentation/DocBook/writing_usb_driver.tmpl')
-rw-r--r--Documentation/DocBook/writing_usb_driver.tmpl7
1 files changed, 1 insertions, 6 deletions
diff --git a/Documentation/DocBook/writing_usb_driver.tmpl b/Documentation/DocBook/writing_usb_driver.tmpl
index 008a341..07cd34c 100644
--- a/Documentation/DocBook/writing_usb_driver.tmpl
+++ b/Documentation/DocBook/writing_usb_driver.tmpl
@@ -224,13 +224,8 @@ static int skel_probe(struct usb_interface *interface,
Conversely, when the device is removed from the USB bus, the disconnect
function is called with the device pointer. The driver needs to clean any
private data that has been allocated at this time and to shut down any
- pending urbs that are in the USB system. The driver also unregisters
- itself from the devfs subsystem with the call:
+ pending urbs that are in the USB system.
</para>
- <programlisting>
-/* remove our devfs node */
-devfs_unregister(skel->devfs);
- </programlisting>
<para>
Now that the device is plugged into the system and the driver is bound to
the device, any of the functions in the file_operations structure that
OpenPOWER on IntegriCloud