[PATCH v3 0/4] serial: atmel: cleanup code

From: Claudiu Beznea
Date: Thu Jun 16 2022 - 09:58:49 EST


Hi,

The following patches does some cleanup for atmel_serial driver by
switching to dev_pm_ops and improving clock management code. Along with
it I took the chance and introduced a patch for st-asc which removes the
include of pm_runtime.h.

Thank you,
Claudiu Beznea

Changes in v3:
- removed "int ret;" from atmel_console_setup() as suggested in
the review of v1

Changes in v2:
- split patch 2/3 from v1 in patch 2/4 and patch 3/4 in this
series
- collected tags

Claudiu Beznea (4):
tty: serial: atmel: stop using legacy pm ops
tty: serial: atmel: use devm_clk_get()
tty: serial: atmel: remove enable/disable clock due to
atmel_console_setup()
serial: st-asc: remove include of pm_runtime.h

drivers/tty/serial/atmel_serial.c | 94 +++++++++----------------------
drivers/tty/serial/st-asc.c | 1 -
2 files changed, 26 insertions(+), 69 deletions(-)

--
2.34.1