]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tty: mmc: sdio: use bool for cts and remove parentheses
authorJiri Slaby (SUSE) <jirislaby@kernel.org>
Mon, 17 Mar 2025 07:00:32 +0000 (08:00 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 17 Mar 2025 10:22:06 +0000 (11:22 +0100)
commit38e7047a4dac5be9599ac3679e971c73e7b61196
tree2cade1046d4cea20fef8e37e2293a54ef9195f0a
parent4139badab0d8fc83d3c1c0993eb6bdea7bab9745
tty: mmc: sdio: use bool for cts and remove parentheses

'cts' in sdio_uart_check_modem_status() is considered a 'bool', but
typed as signed 'int'. Make it 'bool' so it is clear the code does not
care about the masked value, but true/false.

Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20250317070046.24386-18-jirislaby@kernel.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/sdio_uart.c