From 811a09bd83052a40220d70eb3550048915d0be23 Mon Sep 17 00:00:00 2001 From: Gerard Marull-Paretas Date: Wed, 3 Nov 2021 12:25:47 +0100 Subject: [PATCH] drivers: serial: npcx: drop inline attribute for PM action callback Making function inline doesn't provide any benefit here, and is inconsistent with all other definitions. Signed-off-by: Gerard Marull-Paretas --- drivers/serial/uart_npcx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/serial/uart_npcx.c b/drivers/serial/uart_npcx.c index 0968aca933..0b9ce389cf 100644 --- a/drivers/serial/uart_npcx.c +++ b/drivers/serial/uart_npcx.c @@ -438,8 +438,8 @@ static inline bool uart_npcx_device_is_transmitting(const struct device *dev) return 0; } -static inline int uart_npcx_pm_action(const struct device *dev, - enum pm_device_action action) +static int uart_npcx_pm_action(const struct device *dev, + enum pm_device_action action) { /* If next device power state is SUSPEND power state */ switch (action) {