mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-24 19:10:26 +00:00
serial: core: Simplify uart_get_rs485_mode()
[ Upstream commit7cda0b9eb6] 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> Stable-dep-of:1a33e33ca0("serial: core: set missing supported flag for RX during TX GPIO") Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
e961f8c696
commit
28c85cd0a6
1 changed files with 12 additions and 18 deletions
Loading…
Add table
Add a link
Reference in a new issue