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:
parent
cb329bbefe
commit
811a09bd83
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue