serial: 8250_pericom: Use serial_dl_write() instead of open coded
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 22 Nov 2021 13:35:12 +0000 (15:35 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Dec 2021 15:55:22 +0000 (16:55 +0100)
commit46dacba8fea90d4b2562d45e8ca132f20a9ff5ce
tree36db59fbe379e79c45107224ca7f550e2bbff5c1
parentb4ccaf5aa2d795ee7f47a6eeb209f3de981e1929
serial: 8250_pericom: Use serial_dl_write() instead of open coded

It's better to stick with standard API to write and read DL value
when the hardware is compatible with it. In case any quirks are
needed it may be easily added in one place rather than modifying
code here and there.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20211122133512.8947-4-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_pericom.c