]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
slimbus: core: fix of_slim_get_device() kernel doc
authorJohan Hovold <johan@kernel.org>
Wed, 26 Nov 2025 14:53:28 +0000 (15:53 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Jan 2026 15:43:04 +0000 (16:43 +0100)
commit7831f710553dcda6a67b3fe3f7a9d2f9a7233c3f
tree97b0ea5d3aaffae149acf7724c3dcdb6fba7c674
parent4c6da2fdc811391c4a5e594c6e976803b54198b7
slimbus: core: fix of_slim_get_device() kernel doc

Unlike slim_get_device() the of_slim_get_device() helper does not
allocate and register any slimbus devices in case lookup fails.

Update the of_slim_get_device() kernel doc to reflect this and add a
comment about the helper taking a reference to the returned device.

Fixes: e0772de8a48b ("slimbus: core: add of_slim_device_get() helper")
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://patch.msgid.link/20251126145329.5022-6-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/slimbus/core.c