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

tty: serial: ifx6x60: Fix function documentation headers

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

drivers/tty/serial/ifx6x60.c:553: warning: Function parameter or member 'tty' not described in 'ifx_port_activate'
drivers/tty/serial/ifx6x60.c:728: warning: Function parameter or member 't' not described in 'ifx_spi_io'
drivers/tty/serial/ifx6x60.c:728: warning: Excess function parameter 'data' description in 'ifx_spi_io'

Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jiri Slaby <jirislaby@kernel.org>
Cc: Filip Aben <f.aben@option.com>
Cc: Joseph Barrow <d.barow@option.com>
Cc: Jan Dumon <j.dumon@option.com>
Cc: Russ Gorby <russ.gorby@intel.com>
Cc: linux-serial@vger.kernel.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20201104193549.4026187-22-lee.jones@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Lee Jones and committed by
Greg Kroah-Hartman
09532ceb fe989920

+2 -1
+2 -1
drivers/tty/serial/ifx6x60.c
··· 545 545 /** 546 546 * ifx_port_activate 547 547 * @port: our tty port 548 + * @tty: our tty device 548 549 * 549 550 * tty port activate method - called for first open. Serialized 550 551 * with hangup and shutdown by the tty layer. ··· 720 719 721 720 /** 722 721 * ifx_spio_io - I/O tasklet 723 - * @data: our SPI device 722 + * @t: tasklet construct used to fetch the SPI device 724 723 * 725 724 * Queue data for transmission if possible and then kick off the 726 725 * transfer.