summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/tegra3_thermal.c
diff options
context:
space:
mode:
authorJoshua Primero <jprimero@nvidia.com>2011-12-16 11:09:50 -0800
committerDan Willemsen <dwillemsen@nvidia.com>2012-03-22 23:49:49 -0700
commitd57330bb720dec19ca162a2a9e67e749378219c2 (patch)
tree3d3acd1d534b678836794965a1acc6924a1ab12b /arch/arm/mach-tegra/tegra3_thermal.c
parent27fba8940cb8036e1e15aa4cca602a601bad6267 (diff)
arm: tegra: thermal: Added name per therm device
Added name paramater per therm device so that is easy to tell which therm device is being used from sysfs Change-Id: I58488b4c50ac6dc58dc00e270b613458f61a9fd6 Signed-off-by: Joshua Primero <jprimero@nvidia.com> Reviewed-on: http://git-master/r/70929 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com> Rebase-Id: Rdcaae4d2d3695900d47c883c5a97bb45954acde5
Diffstat (limited to 'arch/arm/mach-tegra/tegra3_thermal.c')
-rw-r--r--arch/arm/mach-tegra/tegra3_thermal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/tegra3_thermal.c b/arch/arm/mach-tegra/tegra3_thermal.c
index 8d310ccd841c..16bf6551c5e9 100644
--- a/arch/arm/mach-tegra/tegra3_thermal.c
+++ b/arch/arm/mach-tegra/tegra3_thermal.c
@@ -291,7 +291,7 @@ int tegra_thermal_set_device(struct tegra_thermal_device *device)
thermal_state.device = device;
#ifdef CONFIG_TEGRA_THERMAL_SYSFS
- thz = thermal_zone_device_register("thermal",
+ thz = thermal_zone_device_register(thermal_state.device->name,
1, /* trips */
&thermal_state,
&tegra_thermal_zone_ops,