serial: mxs-auart: Use devm_kzalloc()
authorFabio Estevam <fabio.estevam@freescale.com>
Thu, 27 Nov 2014 19:08:31 +0000 (17:08 -0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Jan 2015 22:12:27 +0000 (14:12 -0800)
commit46778bcad73d0546c6fac24110dba5110902141f
treeb9c478238d7551a4b78a2be62d37f1234c62790a
parent11387b0a46a4b19f3aa8c7b85faff31d9bc1e471
serial: mxs-auart: Use devm_kzalloc()

By using devm_kzalloc() we can have a shorter and cleaner code.

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