Skip to content
Permalink
Browse files

drivers/uart_ns16550: fix style issues flagged by Zephyrbot

Simple whitespace and other style issues.

Signed-off-by: Charles E. Youse <charles.youse@intel.com>
  • Loading branch information...
Charles E. Youse authored and nashif committed May 3, 2019
1 parent b5eba0f commit 4a49736bd127e5c29ad6404b4ae2c10a746ed619
Showing with 5 additions and 2 deletions.
  1. +5 −2 drivers/serial/uart_ns16550_port_x.h
@@ -61,7 +61,10 @@ static void irq_config_func_@NUM@(struct device *dev)
unsigned int irq;

irq = pcie_wired_irq(DT_UART_NS16550_PORT_@NUM@_BASE_ADDR);
if (irq == PCIE_CONF_INTR_IRQ_NONE) return;

if (irq == PCIE_CONF_INTR_IRQ_NONE) {
return;
}

irq_connect_dynamic(irq,
DT_UART_NS16550_PORT_@NUM@_IRQ_PRI,
@@ -81,7 +84,7 @@ static void irq_config_func_@NUM@(struct device *dev)
DT_UART_NS16550_PORT_@NUM@_IRQ_FLAGS);

pcie_irq_enable(DT_UART_NS16550_PORT_@NUM@_BASE_ADDR,
DT_UART_NS16550_PORT_@NUM@_IRQ);
DT_UART_NS16550_PORT_@NUM@_IRQ);

#endif
#else

0 comments on commit 4a49736

Please sign in to comment.
You can’t perform that action at this time.