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

tty: serdev: core: Provide missing description for 'owner'

Fixes the following W=1 kernel build warning(s):

drivers/tty/serdev/core.c: In function ‘serdev_controller_remove’:
drivers/tty/serdev/core.c:811: warning: Function parameter or member 'owner' not described in '__serdev_device_driver_register'

Cc: Rob Herring <robh@kernel.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jiri Slaby <jirislaby@kernel.org>
Cc: linux-serial@vger.kernel.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20201104193549.4026187-3-lee.jones@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Lee Jones and committed by
Greg Kroah-Hartman
fc74d98c c0ed8ecb

+1
+1
drivers/tty/serdev/core.c
··· 800 800 /** 801 801 * serdev_driver_register() - Register client driver with serdev core 802 802 * @sdrv: client driver to be associated with client-device. 803 + * @owner: client driver owner to set. 803 804 * 804 805 * This API will register the client driver with the serdev framework. 805 806 * It is typically called from the driver's module-init function.