serial: mxs-auart: Check for platform_get_irq() error
authorFabio Estevam <fabio.estevam@freescale.com>
Wed, 14 Jan 2015 16:39:08 +0000 (14:39 -0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Feb 2015 18:11:25 +0000 (10:11 -0800)
commit99c932c26d61f2c225f8f8e00dbea404646b9166
treeb3046a8555ebc0393801d4b3c341996217d77be5
parent6960cd465e553c8c0f9c26663b32bf3f3cd6a298
serial: mxs-auart: Check for platform_get_irq() error

We should check whether platform_get_irq() failed, and in the case of error
this needs to be propagated.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/mxs-auart.c