Searched refs:dfluart (Results 1 – 1 of 1) sorted by relevance
113 struct dfl_uart *dfluart; in dfl_uart_probe() local127 dfluart = devm_kzalloc(dev, sizeof(*dfluart), GFP_KERNEL); in dfl_uart_probe()128 if (!dfluart) in dfl_uart_probe()131 dfluart->line = serial8250_register_8250_port(&uart); in dfl_uart_probe()132 if (dfluart->line < 0) in dfl_uart_probe()133 return dev_err_probe(dev, dfluart->line, "unable to register 8250 port.\n"); in dfl_uart_probe()135 dev_set_drvdata(dev, dfluart); in dfl_uart_probe()142 struct dfl_uart *dfluart = dev_get_drvdata(&dfl_dev->dev); in dfl_uart_remove() local144 serial8250_unregister_port(dfluart->line); in dfl_uart_remove()