Skip to content

Commit 33ef298

Browse files
Philipp Hortmanngregkh
authored andcommitted
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 <[email protected]> Link: https://lore.kernel.org/r/0ace789dfbe2d4562c27d374afa5ff078efe2261.1635138058.git.philipp.g.hortmann@gmail.com Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 296ecb3 commit 33ef298

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/driver-api/usb/writing_usb_driver.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ this user-space interaction. The skeleton driver needs this kind of
8484
interface, so it provides a minor starting number and a pointer to its
8585
:c:type:`file_operations` functions.
8686

87-
The USB driver is then registered with a call to :c:func:`usb_register`,
87+
The USB driver is then registered with a call to usb_register(),
8888
usually in the driver's init function, as shown here::
8989

9090
static int __init usb_skel_init(void)
@@ -105,7 +105,7 @@ usually in the driver's init function, as shown here::
105105

106106

107107
When the driver is unloaded from the system, it needs to deregister
108-
itself with the USB subsystem. This is done with the :c:func:`usb_deregister`
108+
itself with the USB subsystem. This is done with usb_deregister()
109109
function::
110110

111111
static void __exit usb_skel_exit(void)

0 commit comments

Comments
 (0)