]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
media: dvb-frontends: Use kmemdup instead of duplicating its function
authorzhong jiang <zhongjiang@huawei.com>
Wed, 19 Sep 2018 08:16:09 +0000 (04:16 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 3 Dec 2018 18:27:55 +0000 (13:27 -0500)
commit2c4746cf45b957962c03f1c10a3d068d7db68924
tree3b786df4b9d5f4bfa79982420c1cfb0cd8e85101
parent73f847af391ad51b712b736de8a04bed77213fd9
media: dvb-frontends: Use kmemdup instead of duplicating its function

kmemdup has implemented the function that kmalloc() + memcpy().
We prefer to kmemdup rather than code opened implementation.

Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/dvb-frontends/lgdt3306a.c