summaryrefslogtreecommitdiffstats
path: root/drivers/tty/tty_ioctl.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>2022-03-08 09:09:12 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-03-18 13:18:59 +0100
commitd3a46d0d83f94b5780bcaaea4b4ddbe7c110b35c (patch)
tree65ac0ab9b3a41579f2e4512d1b017f64b7c1418a /drivers/tty/tty_ioctl.c
parentserial: 8250_tegra: mark acpi_device_id as unused with !ACPI (diff)
downloadlinux-d3a46d0d83f94b5780bcaaea4b4ddbe7c110b35c.tar.xz
linux-d3a46d0d83f94b5780bcaaea4b4ddbe7c110b35c.zip
tty: serial: samsung: embed s3c24xx_uart_info in parent structure
Embed "struct s3c24xx_uart_info" directly as a member of "struct s3c24xx_serial_drv_data" instead of keeping it as a pointer. This makes the code clearer (obvious ownership of "struct s3c24xx_serial_drv_data") and saves one pointer. Tested-by: Alim Akhtar <alim.akhtar@samsung.com> Reviewed-by: Jiri Slaby <jirislaby@kernel.org> Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> Link: https://lore.kernel.org/r/20220308080919.152715-2-krzysztof.kozlowski@canonical.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/tty_ioctl.c')
0 files changed, 0 insertions, 0 deletions