]> git.baikalelectronics.ru Git - kernel.git/commit
tty: xuartps: Use devm_kzalloc
authorSoren Brinkmann <soren.brinkmann@xilinx.com>
Thu, 17 Oct 2013 21:08:05 +0000 (14:08 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 20 Oct 2013 02:47:37 +0000 (19:47 -0700)
commit15ec997d7c316311b97862f2f87639ed183b2620
tree694af24bc92d91ea9ff08247351eb82b1182e009
parent599d420f1557eb8b0fec37dac30dfe2047142e42
tty: xuartps: Use devm_kzalloc

Use the device managed interface for memory allocation, simplifying
error paths.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/xilinx_uartps.c