]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
serial: port: Introduce a common helper to read properties
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 4 Mar 2024 12:27:04 +0000 (14:27 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Mar 2024 13:38:28 +0000 (13:38 +0000)
commite894b6005dce0ed621b2788d6a249708fb6f95f9
treef4dd30f18c58c9fe828a43a3cf1c8a9719a5b50c
parent79d713baf63c8f23cc58b304c40be33d64a12aaf
serial: port: Introduce a common helper to read properties

Several serial drivers want to read the same or similar set of
the port properties. Make a common helper for them.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20240304123035.758700-4-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/serial_port.c
include/linux/serial_core.h