linux/drivers/media/dvb-frontends/drx39xyj
Fuqian Huang f6af820ef1 media: media/dvb: Use kmemdup rather than duplicating its implementation
kmemdup is introduced to duplicate a region of memory in a neat way.
Rather than kmalloc/kzalloc + memcpy, which the programmer needs to
write the size twice (sometimes lead to mistakes), kmemdup improves
readability, leads to smaller code and also reduce the chances of mistakes.
Suggestion to use kmemdup rather than using kmalloc/kzalloc + memcpy.

Signed-off-by: Fuqian Huang <huangfq.daxian@gmail.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-08-14 05:03:30 -03:00
..
drx39xxj.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
drx_dap_fasi.h media: dvb-frontends: fix several typos 2019-03-01 09:26:20 -05:00
drx_driver_version.h [media] drx-j: make checkpatch.pl happy 2014-03-04 14:30:44 -03:00
drx_driver.h media: dvb-frontends: fix several typos 2019-03-01 09:26:20 -05:00
drxj_map.h [media] drx-j: make checkpatch.pl happy 2014-03-04 14:30:44 -03:00
drxj.c media: media/dvb: Use kmemdup rather than duplicating its implementation 2019-08-14 05:03:30 -03:00
drxj.h media: dvb-frontends: fix several typos 2019-03-01 09:26:20 -05:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00