]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Mar 2025 15:00:51 +0000 (08:00 -0700)
commite10865aa8ebca5fe1748f83dc8bdb2aa4e63828b
treeda7675fdda3eda96d3a29ad0858342f1cc3c9f84
parent5af89030960fd987a6c25e33405bbaaff3c7298c
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>
Cc: Ulf Hansson <ulf.hansson@linaro.org>
Cc: linux-mmc@vger.kernel.org
Link: https://lore.kernel.org/r/20250317070046.24386-18-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mmc/core/sdio_uart.c