Driver core: use kmemdup in platform_device_add_resources
This makes platform_device_add_resources look like platform_device_add_data. Signed-off-by: NUwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
Showing
想要评论请 注册 或 登录