Re: [PATCH 1/3] tty: serial: atmel: stop using legacy pm ops

From: Richard Genoud
Date: Thu Jun 02 2022 - 05:14:20 EST



Hi,

Le 25/05/2022 à 15:37, Claudiu Beznea a écrit :
Stop using legacy PM ops and switch using dev_pm_ops. Along with
it #ifdef CONFIG_PM are removed and __maybe_unused and pm_ptr() used
instead. Coding style recommends (at chapter Conditional Compilation)
to avoid using preprocessor conditional and use __maybe_unused
instead.

Signed-off-by: Claudiu Beznea <claudiu.beznea@xxxxxxxxxxxxx>
Acked-by: Richard Genoud <richard.genoud@xxxxxxxxx>



Thanks !