Skip to content
Commit 33f29081 authored by Alex Dewar's avatar Alex Dewar Committed by Neil Armstrong
Browse files

drm/bridge: dw-mipi-dsi: Use kmemdup cf. kmalloc+memcpy



kmemdup can be used instead of kmalloc+memcpy. Replace an occurrence of
this pattern.

Issue identified with Coccinelle.

Signed-off-by: default avatarAlex Dewar <alex.dewar90@gmail.com>
Acked-by: default avatarNeil Armstrong <narmstrong@baylibre.com>
Signed-off-by: default avatarNeil Armstrong <narmstrong@baylibre.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200909190213.156302-1-alex.dewar90@gmail.com
parent 48e07c23
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment