[PATCH 00/10] serial: icom: cleanup

From: Jiri Slaby
Date: Thu Apr 21 2022 - 04:58:16 EST


This series:
* removes unused/unneeded stuff
* fixes sparse warnings
* removes a separate .h
* avoids potentially broken macros
* performs other cleanups

Jiri Slaby (10):
serial: icom: remove ICOM_VERSION_STR macro
serial: icom: switch vague casts to container_of
serial: icom: remove to_icom_adapter() and icom_kref_release()
serial: icom: use proper __le types and functions
serial: icom: move header content to .c
serial: icom: use ARRAY_SIZE
serial: icom: make icom_acfg_baud const and unsigned
serial: icom: use list_for_each_entry()
serial: icom: delete empty serial hooks
serial: icom: remove unused struct icom_port members

drivers/tty/serial/icom.c | 536 +++++++++++++++++++++++++++-----------
drivers/tty/serial/icom.h | 274 -------------------
2 files changed, 385 insertions(+), 425 deletions(-)
delete mode 100644 drivers/tty/serial/icom.h

--
2.36.0