diff mbox series

[3/3] serial: st-asc: remove include of pm_runtime.h

Message ID 20220525133733.1051714-4-claudiu.beznea@microchip.com
State New
Headers show
Series serial: atmel: cleanup code | expand

Commit Message

Claudiu Beznea May 25, 2022, 1:37 p.m. UTC
st-asc driver doesn't use helpers from pm_runtime.h thus remove its
include.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
---
 drivers/tty/serial/st-asc.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Patrice CHOTARD May 30, 2022, 7:47 a.m. UTC | #1
Hi Claudiu

On 5/25/22 15:37, Claudiu Beznea wrote:
> st-asc driver doesn't use helpers from pm_runtime.h thus remove its
> include.
> 
> Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
> ---
>  drivers/tty/serial/st-asc.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/tty/serial/st-asc.c b/drivers/tty/serial/st-asc.c
> index 1b0da603ab54..cce42f4c9bc2 100644
> --- a/drivers/tty/serial/st-asc.c
> +++ b/drivers/tty/serial/st-asc.c
> @@ -17,7 +17,6 @@
>  #include <linux/tty_flip.h>
>  #include <linux/delay.h>
>  #include <linux/spinlock.h>
> -#include <linux/pm_runtime.h>
>  #include <linux/of.h>
>  #include <linux/of_platform.h>
>  #include <linux/serial_core.h>


Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>

Thanks
diff mbox series

Patch

diff --git a/drivers/tty/serial/st-asc.c b/drivers/tty/serial/st-asc.c
index 1b0da603ab54..cce42f4c9bc2 100644
--- a/drivers/tty/serial/st-asc.c
+++ b/drivers/tty/serial/st-asc.c
@@ -17,7 +17,6 @@ 
 #include <linux/tty_flip.h>
 #include <linux/delay.h>
 #include <linux/spinlock.h>
-#include <linux/pm_runtime.h>
 #include <linux/of.h>
 #include <linux/of_platform.h>
 #include <linux/serial_core.h>