aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-lpc32xx/phy3250.c
diff options
context:
space:
mode:
authorzhong jiang2018-08-10 10:40:51 +0800
committerVladimir Zapolskiy2019-02-03 21:40:09 +0200
commit801da462e88dadad046bd24e0c4fdaa2fb95ee36 (patch)
tree8f0207f322b2348be60c7ba906ed2cde8a3d423f /arch/arm/mach-lpc32xx/phy3250.c
parentac04fd656928e223ab7eca654d5e83b7f77ffc7b (diff)
ARM: lpc32xx: Use kmemdup to replace duplicating its implementation
kmemdup is better than kmalloc() + memcpy(), and we do not like open code. So just use kmemdup instead. Signed-off-by: zhong jiang <zhongjiang@huawei.com> [vzapolskiy: resolved a merge conflict] Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Diffstat (limited to 'arch/arm/mach-lpc32xx/phy3250.c')
0 files changed, 0 insertions, 0 deletions