diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-06-21 16:11:44 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-08-05 22:53:34 +0200 |
commit | 44f28bdea09415d40b4d73a7668db5961362ec53 (patch) | |
tree | 7f36eedff7cdfba9d9d0b77f9a4227d3bb0b190f /samples/tracepoints/Makefile | |
parent | Driver core: use kmemdup in platform_device_add_resources (diff) | |
download | linux-44f28bdea09415d40b4d73a7668db5961362ec53.tar.xz linux-44f28bdea09415d40b4d73a7668db5961362ec53.zip |
Driver core: reduce duplicated code for platform_device creation
This makes the two similar functions platform_device_register_simple
and platform_device_register_data one line inline functions using a new
generic function platform_device_register_resndata.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'samples/tracepoints/Makefile')
0 files changed, 0 insertions, 0 deletions