Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

slimbus: core: amend slim_get_device() kernel doc

Add a comment to clarify that slim_get_device() takes a reference to
the embedded struct device of the returned slimbus device.

Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://patch.msgid.link/20251126145329.5022-5-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Johan Hovold and committed by
Greg Kroah-Hartman
4c6da2fd 9391380e

+3
+3
drivers/slimbus/core.c
··· 366 366 * @ctrl: Controller on which this device will be added/queried 367 367 * @e_addr: Enumeration address of the device to be queried 368 368 * 369 + * Takes a reference to the embedded struct device which needs to be dropped 370 + * after use. 371 + * 369 372 * Return: pointer to a device if it has already reported. Creates a new 370 373 * device and returns pointer to it if the device has not yet enumerated. 371 374 */