Skip to content

serial: 8250_exar: Clean up the driver

Andy Shevchenko linux-serial lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest13 patches 12 repliesIn review
  2. v113 patches 21 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13serial: 8250_exar: Don't return positive values as error codesdrivers/tty/serial/8250/8250_exar.c+2 -20 replies
2/13serial: 8250_exar: Describe all parameters in kernel docdrivers/tty/serial/8250/8250_exar.c+3 -00 replies
3/13serial: 8250_exar: Kill CTI_PCI_DEVICE()drivers/tty/serial/8250/8250_exar.c+5 -140 replies
4/13serial: 8250_exar: Use PCI_SUBVENDOR_ID_IBM for subvendor IDdrivers/tty/serial/8250/8250_exar.c+1 -10 replies
5/13serial: 8250_exar: Trivia typo fixesdrivers/tty/serial/8250/8250_exar.c+4 -40 replies
6/13serial: 8250_exar: Extract cti_board_init_osc_freq() helperdrivers/tty/serial/8250/8250_exar.c+19 -290 replies
7/13serial: 8250_exar: Kill unneeded ->board_init()drivers/tty/serial/8250/8250_exar.c+81 -900 replies
8/13serial: 8250_exar: Decrease indentation leveldrivers/tty/serial/8250/8250_exar.c+50 -500 replies
9/13serial: 8250_exar: Return directly from switch-casesdrivers/tty/serial/8250/8250_exar.c+29 -510 replies
10/13serial: 8250_exar: Switch to use dev_err_probe()drivers/tty/serial/8250/8250_exar.c+7 -140 replies
11/13serial: 8250_exar: Use BIT() in exar_ee_read()drivers/tty/serial/8250/8250_exar.c+7 -60 replies
12/13serial: 8250_exar: Make type of bit the same in exar_ee_*_bit()drivers/tty/serial/8250/8250_exar.c+1 -10 replies
13/13serial: 8250_exar: Keep the includes sorteddrivers/tty/serial/8250/8250_exar.c+1 -10 replies

Reviews trailers per patch

None of the 13 patches has a Reviewed-by or Acked-by.

PatchParker Newman
SeriesT-b
1/13
2/13
3/13
4/13
5/13
6/13
7/13
8/13
9/13
10/13
11/13
12/13
13/13

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 00/13] serial: 8250_exar: Clean up the driver

After a rework for CONNTECH was done, the driver may need a bit of love in order to become less verbose (in terms of indentation and code duplication) and hence easier to read.

This clean up series fixes a couple of (not so critical) issues and cleans up the recently added code. No functional change indented by the cleaning up part.

Parker, please test this and give your formal Tested-by tag (you may do it by replying to this message if all patches are
successfully tested; more details about tags are available in the Submitting Patches documentation).

In v2:
- fixed the EEPROM reading data loop (Ilpo, Parker)

Andy Shevchenko (13):
serial: 8250_exar: Don't return positive values as error codes
serial: 8250_exar: Describe all parameters in kernel doc
serial: 8250_exar: Kill CTI_PCI_DEVICE()
serial: 8250_exar: Use PCI_SUBVENDOR_ID_IBM for subvendor ID
serial: 8250_exar: Trivia typo fixes
serial: 8250_exar: Extract cti_board_init_osc_freq() helper
serial: 8250_exar: Kill unneeded ->board_init()
serial: 8250_exar: Decrease indentation level
serial: 8250_exar: Return directly from switch-cases
serial: 8250_exar: Switch to use dev_err_probe()
serial: 8250_exar: Use BIT() in exar_ee_read()
serial: 8250_exar: Make type of bit the same in exar_ee_*_bit()
serial: 8250_exar: Keep the includes sorted

 drivers/tty/serial/8250/8250_exar.c | 459 ++++++++++++----------------
 1 file changed, 203 insertions(+), 256 deletions(-)
Signature · 1 line
2.43.0.rc1.1336.g36b5255a03ac