Andy Shevchenko 7cda0b9eb6 serial: core: Simplify uart_get_rs485_mode()
Simplify uart_get_rs485_mode() by using temporary variable for
the GPIO descriptor. With that, use proper type for the flags
of the GPIO descriptor.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20231003142346.3072929-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-10-05 09:41:26 +02:00
..
2023-10-03 14:36:09 +02:00
2021-10-21 12:35:35 +02:00
2023-08-11 21:12:47 +02:00
2023-08-11 21:12:47 +02:00
2023-09-01 09:38:00 -07:00
2023-08-11 21:12:46 +02:00
2022-09-22 16:12:34 +02:00
2023-10-03 14:31:16 +02:00