lkml.org 
[lkml]   [2022]   [May]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/2] serial: 8250: core: Remove unneeded <linux/pm_runtime.h>
On Mon, 2 May 2022, Geert Uytterhoeven wrote:

> The last calls into Runtime PM were moved to 8250_port.c a long time
> ago.
>
> Fixes: b6830f6df8914faa ("serial: 8250: Split base port operations from universal driver")

Does this really "fix" something or is it just a useful cleanup? To me it
looks the latter.

--
i.

> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
> drivers/tty/serial/8250/8250_core.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/tty/serial/8250/8250_core.c b/drivers/tty/serial/8250/8250_core.c
> index 01d30f6ed8fb5931..cfbd2de0ca6e4bcd 100644
> --- a/drivers/tty/serial/8250/8250_core.c
> +++ b/drivers/tty/serial/8250/8250_core.c
> @@ -32,7 +32,6 @@
> #include <linux/mutex.h>
> #include <linux/slab.h>
> #include <linux/uaccess.h>
> -#include <linux/pm_runtime.h>
> #include <linux/io.h>
> #ifdef CONFIG_SPARC
> #include <linux/sunserialcore.h>
>

\
 
 \ /
  Last update: 2022-05-03 14:25    [W:0.060 / U:0.756 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site