serial: sccnxp: missing uart_unregister_driver() on error in sccnxp_probe()
Add the missing uart_unregister_driver() before return from sccnxp_probe() in the error handling case. Signed-off-by:Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
Please register or sign in to comment