Re: [PATCH v2 09/13] serial: Make uart_handle_cts_change() status param bool active

From: Jiri Slaby
Date: Wed Jan 11 2023 - 00:54:42 EST


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@xxxxxxxxxxxxxxx>

Reviewed-by: Jiri Slaby <jirislaby@xxxxxxxxxx>

--
js
suse labs