serial/imx: propagate error of platform_driver_register in init routine
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tue, 22 Nov 2011 13:22:55 +0000 (14:22 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 27 Nov 2011 04:10:13 +0000 (20:10 -0800)
commitf227824e84c8622e68d9fdc29e78af88a285dfdc
tree5fe49fb7342791fe15c5d2263495112a7e10ae4f
parent514f31d19ed6d001cac37af0b4a3f61b07969d59
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>
drivers/tty/serial/imx.c