]> git.baikalelectronics.ru Git - kernel.git/commit
kobject: clean up the kobject add documentation a bit more
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 May 2019 10:22:24 +0000 (12:22 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 May 2019 06:26:51 +0000 (08:26 +0200)
commit16edce03a76213e21ca43cc01ecaae4f9b2f66e3
treea2a0b7b2a61d990148b832b653f5f4801efefddb
parent5d9c019f7bca4110e0f5ff9dbb01e98d4f96ddb2
kobject: clean up the kobject add documentation a bit more

Commit 197182ae01ea ("kobject: Improve doc clarity kobject_init_and_add()")
tried to provide more clarity, but the reference to kobject_del() was
incorrect.  Fix that up by removing that line, and hopefully be more explicit
as to exactly what needs to happen here once you register a kobject with the
kobject core.

Acked-by: Tobin C. Harding <tobin@kernel.org>
Fixes: 197182ae01ea ("kobject: Improve doc clarity kobject_init_and_add()")
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
lib/kobject.c