diff options
author | 2013-10-30 11:59:05 +0100 | |
---|---|---|
committer | 2013-10-31 06:33:49 +1000 | |
commit | 9d6104e0174b130ed864571b31811c3fd09fd611 (patch) | |
tree | 00ac8c1893076529a62f90cf2a236ef338d16fd3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge tag 'drm-intel-next-2013-10-18' of git://people.freedesktop.org/~danvet/drm-intel into drm-next (diff) | |
download | linux-dev-9d6104e0174b130ed864571b31811c3fd09fd611.tar.xz linux-dev-9d6104e0174b130ed864571b31811c3fd09fd611.zip |
drm/sysfs: Do not drop device reference twice
device_unregister() already drops its reference to the struct device, so
explicitly calling put_device() before device_unregister() can cause the
device to have been freed before it can be unregistered.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Tested-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Tested-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions