uart_unregister_driver — remove a driver from the uart core layer
void uart_unregister_driver ( | struct uart_driver * drv) ; |
Remove all references to a driver from the core driver. The low
level driver must have removed all its ports via the
uart_remove_one_port
if it registered them with uart_add_one_port
.
(ie, drv->port == NULL)