Re: [PATCH] serial: sh-sci: Missing uart_unregister_driver() on error in sci_probe_single()

2019-03-11 Thread maowenan
On 2019/3/11 15:22, Dan Carpenter wrote: > On Fri, Mar 08, 2019 at 10:23:10PM +0800, Mao Wenan wrote: >> Add the missing uart_unregister_driver() before return >> from sci_probe_single() in the error handling case. >> >> Signed-off-by: Mao Wenan >> --- >> drivers/tty/serial/sh-sci.c | 4 +++-

Re: [PATCH] serial: sh-sci: Missing uart_unregister_driver() on error in sci_probe_single()

2019-03-11 Thread Dan Carpenter
On Fri, Mar 08, 2019 at 10:23:10PM +0800, Mao Wenan wrote: > Add the missing uart_unregister_driver() before return > from sci_probe_single() in the error handling case. > > Signed-off-by: Mao Wenan > --- > drivers/tty/serial/sh-sci.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) >

[PATCH] serial: sh-sci: Missing uart_unregister_driver() on error in sci_probe_single()

2019-03-08 Thread Mao Wenan
Add the missing uart_unregister_driver() before return from sci_probe_single() in the error handling case. Signed-off-by: Mao Wenan --- drivers/tty/serial/sh-sci.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/tty/serial/sh-sci.c b/drivers/tty/serial/sh-sci.c