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 <gerard.marull@nordicsemi.no>
This commit is contained in:
Gerard Marull-Paretas 2021-11-03 12:25:47 +01:00 committed by Anas Nashif
parent cb329bbefe
commit 811a09bd83

View file

@ -438,8 +438,8 @@ static inline bool uart_npcx_device_is_transmitting(const struct device *dev)
return 0; return 0;
} }
static inline int uart_npcx_pm_action(const struct device *dev, static int uart_npcx_pm_action(const struct device *dev,
enum pm_device_action action) enum pm_device_action action)
{ {
/* If next device power state is SUSPEND power state */ /* If next device power state is SUSPEND power state */
switch (action) { switch (action) {