drm/radeon/dpm: Fix hwmon crash
authorMartin Andersson <g02maran@gmail.com>
Sat, 7 Dec 2013 22:22:10 +0000 (23:22 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 12 Dec 2013 17:21:36 +0000 (12:21 -0500)
commit1522f9c79cd29c8f55120777ddc8ba63b9216509
tree28b033097ca697d9c7070cff26c9c745023b952b
parent8333f0fe133be420ce3fcddfd568c3a559ab274e
drm/radeon/dpm: Fix hwmon crash

Commit ec39f64bba3421c2060fcbd1aeb6eec81fe0a42d (drm/radeon/dpm: Convert
to use devm_hwmon_register_with_groups) converted one usage of
dev_get_drvdata, but there were two more.

bug:
https://bugs.freedesktop.org/show_bug.cgi?id=72457

Signed-off-by: Martin Andersson <g02maran@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_pm.c