mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
serial/imx: propagate error of platform_driver_register in init routine
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Acked-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
514f31d19e
commit
f227824e84
1 changed files with 1 additions and 1 deletions
|
@ -1476,7 +1476,7 @@ static int __init imx_serial_init(void)
|
|||
if (ret != 0)
|
||||
uart_unregister_driver(&imx_reg);
|
||||
|
||||
return 0;
|
||||
return ret;
|
||||
}
|
||||
|
||||
static void __exit imx_serial_exit(void)
|
||||
|
|
Loading…
Reference in a new issue