driver core: platform_device_add_data(): use kmemdup()
Instead of open-coding it. Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
parent
46227094
Please register or sign in to comment