drm/radeon: properly unregister hwmon interface (v2)
authorAlex Deucher <alexdeucher@gmail.com>
Tue, 15 Apr 2014 16:44:32 +0000 (12:44 -0400)
committerChristian König <christian.koenig@amd.com>
Tue, 22 Apr 2014 14:51:17 +0000 (16:51 +0200)
commitcb3e4e7c59e4b43ac378631f6101f5c8de3a27a5
treeb74a42f7aaac17acce3403634c6b8fbbf530890e
parent7e95cfb0b797678cd3493ca0322ef2675547a0bc
drm/radeon: properly unregister hwmon interface (v2)

Need to properly unregister the hwmon device on driver
unload.

v2: minor clean up

bug:
https://bugzilla.kernel.org/show_bug.cgi?id=73931

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/radeon_pm.c