[PATCH 1/7] docs: cpu_hotplug: Fix multi-instance removal calls
From: Karl Mehltretter
Date: Sat Aug 22 2026 - 08:17:30 EST
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@xxxxxxxxx>
---
Documentation/core-api/cpu_hotplug.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/core-api/cpu_hotplug.rst b/Documentation/core-api/cpu_hotplug.rst
index 6de26d1c6a9ad..f8b3f59a3d5f7 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);
--
2.53.0