Skip to content
Commit daa41226 authored by Andrew Morton's avatar Andrew Morton Committed by Greg Kroah-Hartman
Browse files

driver core: platform_device_add_data(): use kmemdup()



Instead of open-coding it.

Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 46227094
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