diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-10-03 16:17:48 -0400 |
---|---|---|
committer | Adrian Bunk <bunk@stusta.de> | 2006-10-03 16:17:48 -0400 |
commit | bf6ee0ae494596aaf311e8430684db85d1d2f25c (patch) | |
tree | 80af10d1539d20ed00ffe19bb5af51cd6a976a19 /Documentation/DocBook | |
parent | 0a8fe0d756fba2953462cec6db09c81dd732d0b5 (diff) |
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')
-rw-r--r-- | Documentation/DocBook/usb.tmpl | 3 | ||||
-rw-r--r-- | Documentation/DocBook/writing_usb_driver.tmpl | 7 |
2 files changed, 2 insertions, 8 deletions
diff --git a/Documentation/DocBook/usb.tmpl b/Documentation/DocBook/usb.tmpl index 3608472d7b74..fbc72d4dbc25 100644 --- a/Documentation/DocBook/usb.tmpl +++ b/Documentation/DocBook/usb.tmpl | |||
@@ -314,8 +314,7 @@ | |||
314 | <emphasis>usbdevfs</emphasis> although it wasn't solving what | 314 | <emphasis>usbdevfs</emphasis> although it wasn't solving what |
315 | <emphasis>devfs</emphasis> was. | 315 | <emphasis>devfs</emphasis> was. |
316 | Every USB device will appear in usbfs, regardless of whether or | 316 | Every USB device will appear in usbfs, regardless of whether or |
317 | not it has a kernel driver; but only devices with kernel drivers | 317 | not it has a kernel driver. |
318 | show up in devfs. | ||
319 | </para> | 318 | </para> |
320 | 319 | ||
321 | <sect1> | 320 | <sect1> |
diff --git a/Documentation/DocBook/writing_usb_driver.tmpl b/Documentation/DocBook/writing_usb_driver.tmpl index 008a341234d0..07cd34c1940b 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, | |||
224 | Conversely, when the device is removed from the USB bus, the disconnect | 224 | Conversely, when the device is removed from the USB bus, the disconnect |
225 | function is called with the device pointer. The driver needs to clean any | 225 | function is called with the device pointer. The driver needs to clean any |
226 | private data that has been allocated at this time and to shut down any | 226 | private data that has been allocated at this time and to shut down any |
227 | pending urbs that are in the USB system. The driver also unregisters | 227 | pending urbs that are in the USB system. |
228 | itself from the devfs subsystem with the call: | ||
229 | </para> | 228 | </para> |
230 | <programlisting> | ||
231 | /* remove our devfs node */ | ||
232 | devfs_unregister(skel->devfs); | ||
233 | </programlisting> | ||
234 | <para> | 229 | <para> |
235 | Now that the device is plugged into the system and the driver is bound to | 230 | Now that the device is plugged into the system and the driver is bound to |
236 | the device, any of the functions in the file_operations structure that | 231 | the device, any of the functions in the file_operations structure that |