aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Documentation/driver-api/usb/writing_usb_driver.rst
diff options
context:
space:
mode:
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>2021-10-25 07:09:55 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-10-25 09:14:58 +0200
commit33ef298651e9fc0ed42c6b4140d40718a0e03ca2 (patch)
tree6eafceecfce08d4e89acbea64086d05e24cf591a /Documentation/driver-api/usb/writing_usb_driver.rst
parentDocs: usb: update struct usb_driver (diff)
downloadwireguard-linux-33ef298651e9fc0ed42c6b4140d40718a0e03ca2.tar.xz
wireguard-linux-33ef298651e9fc0ed42c6b4140d40718a0e03ca2.zip
Docs: usb: remove :c:func: for usb_register and usb_deregister
remove :c:func: for usb_register and usb_deregister Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> Link: https://lore.kernel.org/r/0ace789dfbe2d4562c27d374afa5ff078efe2261.1635138058.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/driver-api/usb/writing_usb_driver.rst')
-rw-r--r--Documentation/driver-api/usb/writing_usb_driver.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/driver-api/usb/writing_usb_driver.rst b/Documentation/driver-api/usb/writing_usb_driver.rst
index a511c6fecf96..e09dac9e2cb6 100644
--- a/Documentation/driver-api/usb/writing_usb_driver.rst
+++ b/Documentation/driver-api/usb/writing_usb_driver.rst
@@ -84,7 +84,7 @@ this user-space interaction. The skeleton driver needs this kind of
interface, so it provides a minor starting number and a pointer to its
:c:type:`file_operations` functions.
-The USB driver is then registered with a call to :c:func:`usb_register`,
+The USB driver is then registered with a call to usb_register(),
usually in the driver's init function, as shown here::
static int __init usb_skel_init(void)
@@ -105,7 +105,7 @@ usually in the driver's init function, as shown here::
When the driver is unloaded from the system, it needs to deregister
-itself with the USB subsystem. This is done with the :c:func:`usb_deregister`
+itself with the USB subsystem. This is done with usb_deregister()
function::
static void __exit usb_skel_exit(void)