Driver core: use kmemdup in platform_device_add_resources
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tue, 15 Jun 2010 08:47:55 +0000 (10:47 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 5 Aug 2010 20:53:34 +0000 (13:53 -0700)
commit3e61dfd8509a52d165726831c57b4c8a015d626c
tree28ed342eaf40273024bfdf673247127ea5e96456
parentf8a4bd3456b988fc73b2c291b9e01b434c8fa940
Driver core: use kmemdup in platform_device_add_resources

This makes platform_device_add_resources look like
platform_device_add_data.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/platform.c