summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-qup.c
diff options
context:
space:
mode:
authorMuhammad Falak R Wani <falakreyaz@gmail.com>2016-05-19 16:39:28 +0530
committerSebastian Reichel <sre@kernel.org>2016-05-29 20:38:02 +0200
commitb32bd7e7d5c1c04bb351420c09217f38dad8b8f1 (patch)
tree1b3d68ffa8d660d97ed89bf19e3c4b0c50541829 /drivers/spi/spi-qup.c
parentf6004b7bc651c11591d544ce3fd60d7bf7d71ccd (diff)
downloadlinux-stable-b32bd7e7d5c1c04bb351420c09217f38dad8b8f1.tar.gz
linux-stable-b32bd7e7d5c1c04bb351420c09217f38dad8b8f1.tar.bz2
linux-stable-b32bd7e7d5c1c04bb351420c09217f38dad8b8f1.zip
hsi: use kmemdup
Use kmemdup when some other buffer is immediately copied into allocated region. It replaces call to allocation followed by memcpy, by a single call to kmemdup. Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com> Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'drivers/spi/spi-qup.c')
0 files changed, 0 insertions, 0 deletions