serial: fsl_lpuart: Remove unneeded check for 'res'
authorFabio Estevam <fabio.estevam@freescale.com>
Fri, 7 Nov 2014 02:23:13 +0000 (00:23 -0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Nov 2014 16:35:46 +0000 (08:35 -0800)
commit4ae612a3260336872e4f858d2d226a3721ccfd89
treeac0fe35246017ad904a1623a02281b6220022d36
parentad5708f67e0f5aa78915715c660b4f2ca9130279
serial: fsl_lpuart: Remove unneeded check for 'res'

'res' will be automatically checked inside devm_ioremap_resource(), so there is
no need to explicitly perform a NULL check.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Jingchang Lu <jingchang.lu@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/fsl_lpuart.c