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

serial: sc16is7xx: change conditional operator indentation

Move "?" conditional operator all on same line to improve readability.

Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
Link: https://patch.msgid.link/20251027142957.1032073-13-hugo@hugovil.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Hugo Villeneuve and committed by
Greg Kroah-Hartman
b90871cb be1d3aac

+1 -2
+1 -2
drivers/tty/serial/sc16is7xx.c
··· 1180 1180 /* This bit must be written with LCR[7] = 0 */ 1181 1181 sc16is7xx_port_update(port, SC16IS7XX_MCR_REG, 1182 1182 SC16IS7XX_MCR_IRDA_BIT, 1183 - one->irda_mode ? 1184 - SC16IS7XX_MCR_IRDA_BIT : 0); 1183 + one->irda_mode ? SC16IS7XX_MCR_IRDA_BIT : 0); 1185 1184 1186 1185 /* Enable the Rx and Tx FIFO */ 1187 1186 sc16is7xx_port_update(port, SC16IS7XX_EFCR_REG,