Skip to content

Commit 872b4e0

Browse files
sjp38dbaluta
authored andcommitted
Documentation/device_model/Drivers: Consistently use full paths
For directories under '/sys/', a sentence in 'Drivers' section sometimes use full path and sometimes only directory name. For better consistency, this commit modify the sentence to consistently use the full paths. This commit also fixes a typo of 'class' directory. Signed-off-by: SeongJae Park <sj38.park@gmail.com>
1 parent 307e15b commit 872b4e0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Documentation/teaching/labs/device_model.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -561,9 +561,9 @@ device.
561561

562562
In sysfs, driver information has no single subdirectory associated; They can be
563563
found in the directory structure in different places: the loaded module is in
564-
``/sys/module``, in ``devices`` you can find the driver associated with
565-
each device, in ``classes`` the drivers belonging to a class, in ``/sys/bus``
566-
the drivers associated to each bus.
564+
``/sys/module``, in ``/sys/devices`` you can find the driver associated with
565+
each device, in ``/sys/class`` the drivers belonging to a class, in
566+
``/sys/bus`` the drivers associated to each bus.
567567

568568
A device driver is identified by the structure :c:type:`struct device_driver`:
569569

0 commit comments

Comments
 (0)