]> 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)
commit2f668c75b6f0c905747353dd1153e53e8f2c8e42
tree694af24bc92d91ea9ff08247351eb82b1182e009
parenteacc3e330a44c7bdbdc4c38a3a36c0581178b2c2
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