diff options
| author | Karl Mehltretter <kmehltretter@gmail.com> | 2026-08-22 14:16:45 +0200 |
|---|---|---|
| committer | Jonathan Corbet <corbet@lwn.net> | 2026-08-31 15:33:18 -0600 |
| commit | eb52e615f23790915eb1d260cef3363906d4bd5c (patch) | |
| tree | d84043ac9a9edec98fffc07da3bf4c76c92ec035 /Documentation/core-api | |
| parent | f4fda73b0f784eb87867735e5fd92362c54fae83 (diff) | |
docs: cpu_hotplug: Fix multi-instance removal calls
The function is named cpuhp_state_remove_instance(), not
cpuhp_remove_instance().
Fixes: c9871c800f65 ("Documentation: core-api/cpuhotplug: Rewrite the API section")
Assisted-by: Codex:gpt-5.6-sol
Signed-off-by: Karl Mehltretter <kmehltretter@gmail.com>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20260822121651.1559-2-kmehltretter@gmail.com>
Diffstat (limited to 'Documentation/core-api')
| -rw-r--r-- | Documentation/core-api/cpu_hotplug.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/core-api/cpu_hotplug.rst b/Documentation/core-api/cpu_hotplug.rst index 6de26d1c6a9a..f8b3f59a3d5f 100644 --- a/Documentation/core-api/cpu_hotplug.rst +++ b/Documentation/core-api/cpu_hotplug.rst @@ -607,9 +607,9 @@ ONLINE section for notifications on online and offline operation:: if (ret) return ret; .... - cpuhp_remove_instance(state, &inst1->node); + cpuhp_state_remove_instance(state, &inst1->node); .... - cpuhp_remove_instance(state, &inst2->node); + cpuhp_state_remove_instance(state, &inst2->node); .... cpuhp_remove_multi_state(state); |
