tty: xuartps: Use devm_kzalloc
Use the device managed interface for memory allocation, simplifying error paths. Signed-off-by: NSoren Brinkmann <soren.brinkmann@xilinx.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
想要评论请 注册 或 登录