diff options
author | Joshua Primero <jprimero@nvidia.com> | 2011-12-16 11:09:50 -0800 |
---|---|---|
committer | Varun Wadekar <vwadekar@nvidia.com> | 2011-12-22 11:30:54 +0530 |
commit | b0874e7b76b2ea6e9d60c39028aa27cabad74f46 (patch) | |
tree | 8f8cf1e160e75f6ce43f98d7f48534365dbb6547 /arch/arm/mach-tegra/tegra3_thermal.c | |
parent | d040ac1e4c0ee288945d1e557de3d9642e788779 (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>
Diffstat (limited to 'arch/arm/mach-tegra/tegra3_thermal.c')
-rw-r--r-- | arch/arm/mach-tegra/tegra3_thermal.c | 2 |
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, |