serial8250-em: Convert to devm_* managed helpers
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Fri, 26 Jul 2013 14:22:02 +0000 (16:22 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Jul 2013 23:20:24 +0000 (16:20 -0700)
commit299a62575a63b19add8206642b340f1b54ec4faf
tree9ffe739f8fd236233f00546065ebed5b50da72e5
parentcf940ebe98e693aec2d10f9af2fb84eb55234e3c
serial8250-em: Convert to devm_* managed helpers

Replace kzalloc and clk_get by their managed counterparts to simplify
error and cleanup paths.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_em.c