summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2010-07-01 06:18:01 +0400
committerMatthew Garrett <mjg@redhat.com>2010-08-03 17:48:53 +0400
commit08db2b3141b99b476749201eb8e164b39fa7a4ca (patch)
tree911acb496cd0789b1dfec8d5ba6983b56c4aa929 /tools/perf/scripts/python/check-perf-trace.py
parent32ab72e7ca7aed399b81a3ffec26d7353bd33581 (diff)
downloadlinux-08db2b3141b99b476749201eb8e164b39fa7a4ca.tar.xz
sony-laptop: use platform_device_unregister in sony_pf_remove
platform_device_unregister calls platform_device_del and platform_device_put, thus this change is logically equivalent to original code. I made this change because the documents in platform.c shows that: platform_device_del and platform_device_put must _only_ be externally called in error cases. All other usage is a bug. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions