summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorMatthijs Kooijman <matthijs@stdin.nl>2013-04-11 18:43:47 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-04-11 13:27:39 -0700
commit8284f93b3d8b21e30bd8fde97686433a52b49c58 (patch)
tree0a7963893ab3b1e1d16d2d1eba74dc95a244ab08 /tools/perf/scripts/python/sched-migration.py
parent050232a73c0d054750a9da92e071e26d4c571f12 (diff)
staging: dwc2: Make dwc2_set_uninitialized more specific
Before, it was a function that would set all members of a given struct containing only int members to -1. Now, it is renamed to dwc_set_all_params and it works only on the dwc2_core_params struct. This makes sure that all of the slightly dubious casting and assumptions happen inside the function instead of by the caller. Signed-off-by: Matthijs Kooijman <matthijs@stdin.nl> Acked-by: Paul Zimmerman <paulz@synopsys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions