提交 16df1456 编写于 作者: D Dan Carpenter 提交者: Greg Kroah-Hartman

mm, memory_hotplug: update a comment in unregister_memory()

The remove_memory_block() function was renamed to in commit
cc292b0b ("drivers/base/memory.c: rename remove_memory_block() to
remove_memory_section()").
Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 c0b8a870
......@@ -732,7 +732,7 @@ unregister_memory(struct memory_block *memory)
{
BUG_ON(memory->dev.bus != &memory_subsys);
/* drop the ref. we got in remove_memory_block() */
/* drop the ref. we got in remove_memory_section() */
put_device(&memory->dev);
device_unregister(&memory->dev);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册