drm/nouveau: fix hwmon device binding
authorLucas Stach <dev@lynxeye.de>
Thu, 6 Jan 2011 19:29:53 +0000 (20:29 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 7 Jan 2011 13:22:17 +0000 (23:22 +1000)
commit07cfe0e7a820ecad078c04e9c2a102521709145d
treeff627005113544e261aa4f979d7e3001ae656abe
parente457acaed4c56a6831b82365e17e8f42f1ee129c
drm/nouveau: fix hwmon device binding

Bind the hwmon structs to nouveau device kobj. This makes sure
the hwmon files are created in the device subdir in line with
all other hwmon drivers.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_pm.c