Tag: 0ceaec188e7784c7f9ab5fca110fecb790837dbc

[media] cx25821: Use kmemdup rather than duplicating its implementation

Author: Thomas Meyer <thomas@m3y3r.de> The semantic patch that makes this change is available in scripts/coccinelle/api/memdup.cocci. Signed-off-by: Thomas Meyer Signed-off-by: Mauro Carvalho Chehab — drivers/media/video/cx25821/cx25821-audio-upstream.c | 11 ++++——- drivers/media/video/cx25821/cx25821-video-upstream-ch2.c | 12 ++++——– drivers/media/video/cx25821/cx25821-video-upstream.c | 10 ++++—— 3 files changed, 12 insertions(+), 21 deletions(-)   diff –git a/drivers/media/video/cx25821/cx25821-audio-upstream.c b/drivers/media/video/cx25821/cx25821-audio-upstream.c index 4dc2a24..20c7ca3 100644 — a/drivers/media/video/cx25821/cx25821-audio-upstream.c +++ b/drivers/media/video/cx25821/cx25821-audio-upstream.c @@ …

Continue reading