diff options
author | Lucas Stach <dev@lynxeye.de> | 2011-01-30 10:54:11 +0100 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2011-02-02 10:17:16 +1000 |
commit | 8c06a3e02062a9beb71a9444c49fb0fbcaa1eed3 (patch) | |
tree | 18eb6ca1cc1fbd76903385e875f118121931ed59 /drivers | |
parent | 153e019ff398063b8486acadfad9adb806e99474 (diff) | |
download | kernel_samsung_espresso10-8c06a3e02062a9beb71a9444c49fb0fbcaa1eed3.zip kernel_samsung_espresso10-8c06a3e02062a9beb71a9444c49fb0fbcaa1eed3.tar.gz kernel_samsung_espresso10-8c06a3e02062a9beb71a9444c49fb0fbcaa1eed3.tar.bz2 |
drm/nouveau: correctly pair hwmon_init and hwmon_fini
I broke this with my commit
07cfe0e7a820ecad078c04e9c2a102521709145d
This fixes fdo #33434
Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_pm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_pm.c b/drivers/gpu/drm/nouveau/nouveau_pm.c index fb846a3..f05c0cd 100644 --- a/drivers/gpu/drm/nouveau/nouveau_pm.c +++ b/drivers/gpu/drm/nouveau/nouveau_pm.c @@ -443,7 +443,7 @@ nouveau_hwmon_fini(struct drm_device *dev) struct nouveau_pm_engine *pm = &dev_priv->engine.pm; if (pm->hwmon) { - sysfs_remove_group(&pm->hwmon->kobj, &hwmon_attrgroup); + sysfs_remove_group(&dev->pdev->dev.kobj, &hwmon_attrgroup); hwmon_device_unregister(pm->hwmon); } #endif |