[PATCH v2 09/13] serial: Make uart_handle_cts_change() status param bool active
Jiri Slaby
jirislaby at kernel.org
Tue Jan 10 21:54:30 PST 2023
On 10. 01. 23, 13:02, Ilpo Järvinen wrote:
> Convert uart_handle_cts_change() to bool which is more appropriate
> than unsigned int.
>
> Rename status to active to better describe what the parameter means.
> While at it, make the comment about the active parameter easier to
> parse.
>
> Cleanup callsites from operations that are not necessary with bool.
>
> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen at linux.intel.com>
Reviewed-by: Jiri Slaby <jirislaby at kernel.org>
--
js
suse labs
More information about the linux-arm-kernel
mailing list