hwmon: tegra-tsensor: minor cleanup
authorColin Patrick McCabe <cmccabe@nvidia.com>
Thu, 3 Nov 2011 23:21:15 +0000 (16:21 -0700)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 07:48:46 +0000 (00:48 -0700)
commitc8fd554f78a5439b5cf5aeb09fbf789bb7ceae6b
treec2917cf35a8597d6fe5a94e8ea130a5f16526852
parent0373516ae3d6bc04b508d846d2a66bc3c1e6692c
hwmon: tegra-tsensor: minor cleanup

* when outputting to sysfs, we only have to worry about not overflowing
a single page in memory.

* don't use strcat

* avoid passing data between functions by mutating global strings

Change-Id: I8914a9ee282c63a4259c1bcaf9e550328a5664ec
Signed-off-by: Colin Patrick McCabe <cmccabe@nvidia.com>
Reviewed-on: http://git-master/r/63672
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

Rebase-Id: Rd3426d0c534a846624a4d55be851a88c67ba6d67
drivers/hwmon/tegra-tsensor.c