driver: npcx7: replace platform specific functions with 'npcx_' prefix.

Replace all platform specific functions with 'npcx_' prefix.

Signed-off-by: Mulin Chao <MLChao@nuvoton.com>
This commit is contained in:
Mulin Chao 2020-10-21 14:10:26 +08:00 committed by Maureen Helm
commit d55aa5a71b
11 changed files with 57 additions and 57 deletions

View file

@ -344,16 +344,16 @@ static int uart_npcx_init(const struct device *dev)
* Configure the UART wake-up event triggered from a falling edge
* on CR_SIN pin. No need for callback function.
*/
soc_miwu_interrupt_configure(&config->uart_rx_wui,
npcx_miwu_interrupt_configure(&config->uart_rx_wui,
NPCX_MIWU_MODE_EDGE, NPCX_MIWU_TRIG_LOW);
/* Enable irq of interrupt-input module */
soc_miwu_irq_enable(&config->uart_rx_wui);
npcx_miwu_irq_enable(&config->uart_rx_wui);
#endif
/* Configure pin-mux for uart device */
soc_pinctrl_mux_configure(config->alts_list, config->alts_size, 1);
npcx_pinctrl_mux_configure(config->alts_list, config->alts_size, 1);
return 0;
}