commit | 92067f843854be0eef1e41ff00cb465247a83c42 | [log] [tgz] |
---|---|---|
author | Tobin C. Harding <tobin@kernel.org> | Sun Apr 28 10:48:10 2019 +1000 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Apr 28 18:16:03 2019 +0200 |
tree | 42612775c8cbaa4be86fee361f34a6b25de8ca7b | |
parent | edb16da34b084c66763f29bee42b4e6bb33c3d66 [diff] |
kobject: Improve docs for kobject_add/del There is currently some confusion on how to wind back kobject_init_and_add() during the error paths in code that uses this function. Add documentation to kobject_add() and kobject_del() to help clarify the usage. Signed-off-by: Tobin C. Harding <tobin@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>