aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/thermal/ti-soc-thermal/ti-thermal-common.c
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2015-01-18 21:17:10 +0100
committerEduardo Valentin <edubezval@gmail.com>2015-05-04 21:27:53 -0700
commite34238bf98a2ad9deda9444d69903889eced0519 (patch)
treef19ac7786ac09b9d9979e648f2bd2ad86a4cd658 /drivers/thermal/ti-soc-thermal/ti-thermal-common.c
parentthermal: remove stale THERMAL_POWER_ACTOR select (diff)
downloadlinux-dev-e34238bf98a2ad9deda9444d69903889eced0519.tar.xz
linux-dev-e34238bf98a2ad9deda9444d69903889eced0519.zip
cleanup ti-soc-thermal
Simplify code by removing goto's where they point to simple return. Avoid confusing |= on error values. Correct whitespace. Signed-off-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'drivers/thermal/ti-soc-thermal/ti-thermal-common.c')
-rw-r--r--drivers/thermal/ti-soc-thermal/ti-thermal-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/ti-soc-thermal/ti-thermal-common.c b/drivers/thermal/ti-soc-thermal/ti-thermal-common.c
index cb45e729adb5..c7c5b3779dac 100644
--- a/drivers/thermal/ti-soc-thermal/ti-thermal-common.c
+++ b/drivers/thermal/ti-soc-thermal/ti-thermal-common.c
@@ -75,7 +75,7 @@ static inline int ti_thermal_hotspot_temperature(int t, int s, int c)
}
/* thermal zone ops */
-/* Get temperature callback function for thermal zone*/
+/* Get temperature callback function for thermal zone */
static inline int __ti_thermal_get_temp(void *devdata, long *temp)
{
struct thermal_zone_device *pcb_tz = NULL;