diff options
author | Martin Peres <martin.peres@labri.fr> | 2013-03-05 10:58:59 +0100 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2013-03-18 11:15:26 +1000 |
commit | c4ce9246ca4708482a9a03e76f4177e9f46a13ef (patch) | |
tree | debe3cbf263696a9f30ec9af92a437aaa5884d7b /drivers/gpu/drm/nouveau/core/subdev/therm/priv.h | |
parent | 7591782b9f30a5a8bcbba5744c85050ff6743d69 (diff) | |
download | op-kernel-dev-c4ce9246ca4708482a9a03e76f4177e9f46a13ef.zip op-kernel-dev-c4ce9246ca4708482a9a03e76f4177e9f46a13ef.tar.gz |
drm/nouveau/therm: remove some confusion introduced by therm_mode
The kernel message "[ PTHERM][0000:01:00.0] Thermal management: disabled"
is misleading as it actually means "fan management: disabled".
This patch fixes both the source and the message to improve readability.
Signed-off-by: Martin Peres <martin.peres@labri.fr>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/core/subdev/therm/priv.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/core/subdev/therm/priv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/core/subdev/therm/priv.h b/drivers/gpu/drm/nouveau/core/subdev/therm/priv.h index 06b9870..d8483dd 100644 --- a/drivers/gpu/drm/nouveau/core/subdev/therm/priv.h +++ b/drivers/gpu/drm/nouveau/core/subdev/therm/priv.h @@ -102,7 +102,7 @@ struct nouveau_therm_priv { struct i2c_client *ic; }; -int nouveau_therm_mode(struct nouveau_therm *therm, int mode); +int nouveau_therm_fan_mode(struct nouveau_therm *therm, int mode); int nouveau_therm_attr_get(struct nouveau_therm *therm, enum nouveau_therm_attr_type type); int nouveau_therm_attr_set(struct nouveau_therm *therm, |