diff options
author | Uwe Kleine-König <[email protected]> | 2011-04-20 09:44:44 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2011-04-22 17:09:13 -0700 |
commit | cea896238fbfdbce254f51fc8fd78c59df50081f (patch) | |
tree | 4536217e6a2f43432384e526e962d2240b141c23 /tools/perf/scripts/python/sctop.py | |
parent | 251e031d132ea3d03e0a32f2240c67f449979c5d (diff) |
driver core/platform_device_add_resources: set resource to NULL if !res
This makes the res = NULL case more consistant to the res != NULL case
as now both overwrite pdev->resource.
Reviewed-by: Viresh Kumar <[email protected]>
Signed-off-by: Uwe Kleine-König <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions