drm/nouveau: correctly pair hwmon_init and hwmon_fini
Subsystems (3)
PATCH 1/1 drm/nouveau: correctly pair hwmon_init and hwmon_fini
Hi Ben,
please push. This fixes
https://bugs.freedesktop.org/show_bug.cgi?id=33434 where I messed up.
-- Lucas
From 996f1a11521a1b5b71e82b24e388a03f2f7ae2c2 Mon Sep 17 00:00:00 2001
From: Lucas Stach <[email protected]>
Date: Sun, 30 Jan 2011 10:54:11 +0100
Subject: [PATCH] drm/nouveau: correctly pair hwmon_init and hwmon_fini
I broke this with my commit07cfe0e7a820ecad078c04e9c2a102521709145d
This fixes fdo #33434
Signed-off-by Lucas Stach <[email protected]>
--- drivers/gpu/drm/nouveau/nouveau_pm.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/gpu/drm/nouveau/nouveau_pm.c +1 -1
@@ -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
Signature · 1 line
1.7.3.5
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
Quoted 2 lines · Lucas Stach
Hi Ben,
Hey Lucas,
Thanks, pushed :)
Ben.
Quoted 4 lines
please push. This fixes
https://bugs.freedesktop.org/show_bug.cgi?id=33434 where I messed up.-- Lucas