diff options
author | Pavel Machek <pavel@ucw.cz> | 2015-01-18 21:17:10 +0100 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2015-05-04 21:27:53 -0700 |
commit | e34238bf98a2ad9deda9444d69903889eced0519 (patch) | |
tree | f19ac7786ac09b9d9979e648f2bd2ad86a4cd658 /drivers/thermal/ti-soc-thermal/ti-thermal-common.c | |
parent | db6cb88b8f4748589d826930c7626b7cde262243 (diff) | |
download | op-kernel-dev-e34238bf98a2ad9deda9444d69903889eced0519.zip op-kernel-dev-e34238bf98a2ad9deda9444d69903889eced0519.tar.gz |
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.c | 2 |
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 cb45e72..c7c5b37 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; |