@@ -67,7 +67,7 @@ contains the following subdirectories:
67
67
* firmware - information from system firmware (ACPI)
68
68
* fs - information about mounted file systems
69
69
* kernel - kernel status information (logged-in users, hotplug)
70
- * modules - the list of modules currently loaded
70
+ * module - the list of modules currently loaded
71
71
* power - information related to the power management subsystem
72
72
73
73
As you can see, there is a correlation between the kernel data structures
@@ -348,7 +348,7 @@ has the role of adding environment variables.
348
348
349
349
Other possible operations on a bus are iterating over the drivers or devices
350
350
attached to it.
351
- Although we can not directly access them (lists of drives and devices
351
+ Although we can not directly access them (lists of drivers and devices
352
352
being stored in the private data of the driver, the ``subsys_private *p `` field),
353
353
these can be iterated using the :c:macro: `bus_for_each_dev ` and
354
354
:c:macro: `bus_for_each_drv ` macros.
@@ -849,14 +849,14 @@ protocols are available:
849
849
850
850
The kernel contains a bus, called ``pnp_bus ``, that is used for connecting by
851
851
many drivers.
852
- The implementation and working with the bus follow the model Linux Device Model
853
- and is very similar to what we discussed above.
852
+ The implementation and working with the bus follow the Linux Device Model and
853
+ is very similar to what we discussed above.
854
854
855
855
The main functions and structures exported by the bus, which can be used by
856
856
drivers, are:
857
857
858
858
* :c:type: `struct pnp_driver ` - driver type associated to the bus
859
- * :c:func: `pnp_register_driver ` - function used to record a PNP driver in the system
859
+ * :c:func: `pnp_register_driver ` - function used to register a PNP driver in the system
860
860
* :c:func: `pnp_unregister_driver ` - function used to unregister a PNP driver from the system
861
861
862
862
As noted in previous sections, the bus has a function called ``match `` used to
0 commit comments