summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/lpc32xx_hs.c
diff options
context:
space:
mode:
authorTony Prisk <linux@prisktech.co.nz>2013-01-18 03:05:32 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-18 03:54:33 +0100
commit49abd90c4bb7b35e84c430dbba6b6368786fbf62 (patch)
tree3256955920819a65de0dfc361f9b8e0cadcf919b /drivers/tty/serial/lpc32xx_hs.c
parentserial: vt8500: UART uses gated clock rather than 24Mhz reference (diff)
downloadlinux-49abd90c4bb7b35e84c430dbba6b6368786fbf62.tar.xz
linux-49abd90c4bb7b35e84c430dbba6b6368786fbf62.zip
serial: vt8500: Cleanup code using devm_ function
Convert the last memory allocation (vt8500_port) to use devm_kzalloc and remove the fail path cleanup code from vt8500_serial_probe. Reorder iomem mapping above clk_enable to simplify fail code. The clock is only enabled if all other resources are available. Signed-off-by: Tony Prisk <linux@prisktech.co.nz> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/lpc32xx_hs.c')
0 files changed, 0 insertions, 0 deletions