diff options
| author | Ilpo Järvinen <[email protected]> | 2023-01-17 09:03:55 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-01-19 15:04:35 +0000 |
| commit | 968d64578ec92968e8c79d766eb966efd1f68d7e (patch) | |
| tree | 73a49a4853804246be998054bedf4be2104576b6 /drivers/usb/class/cdc-acm.c | |
| parent | tty/serial: Make ->dcd_change()+uart_handle_dcd_change() status bool active (diff) | |
| download | kernel-968d64578ec92968e8c79d766eb966efd1f68d7e.tar.gz kernel-968d64578ec92968e8c79d766eb966efd1f68d7e.zip | |
serial: Make uart_handle_cts_change() status param bool active
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.
Reviewed-by: Jiri Slaby <[email protected]>
Signed-off-by: Ilpo Järvinen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/class/cdc-acm.c')
0 files changed, 0 insertions, 0 deletions
