diff options
| author | Zenghui Yu <zenghui.yu@linux.dev> | 2026-06-21 15:52:39 +0800 |
|---|---|---|
| committer | Danilo Krummrich <dakr@kernel.org> | 2026-06-29 01:11:14 +0200 |
| commit | e7e09a8546a9e41a164378979471a4b4bd166bc7 (patch) | |
| tree | 4d64b20df86a609db8224ff77b51b8f23e1b65c9 | |
| parent | f81808de37338aac8e167f99bfae647b1b835c70 (diff) | |
driver core: fix path of /sys/module in comment
The comment wrongly references to /sys/modules directory instead of
/sys/module. Fix it.
Signed-off-by: Zenghui Yu <zenghui.yu@linux.dev>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Link: https://patch.msgid.link/20260621075239.11330-1-zenghui.yu@linux.dev
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
| -rw-r--r-- | drivers/base/module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/module.c b/drivers/base/module.c index 218aaa096455..6789dca485ab 100644 --- a/drivers/base/module.c +++ b/drivers/base/module.c @@ -42,7 +42,7 @@ int module_add_driver(struct module *mod, const struct device_driver *drv) if (mod) mk = &mod->mkobj; else if (drv->mod_name) { - /* Lookup or create built-in module entry in /sys/modules */ + /* Lookup or create built-in module entry in /sys/module */ mk = lookup_or_create_module_kobject(drv->mod_name); if (mk) { /* remember our module structure */ |
