hwmon: tegra: tsensor: creating sys nodes under hwmon
authorvenu byravarasu <vbyravarasu@nvidia.com>
Mon, 1 Aug 2011 09:46:45 +0000 (14:46 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Thu, 1 Dec 2011 05:48:00 +0000 (21:48 -0800)
commitf722fd1f0f71f652652627a2f5523c281171e71d
treec2bcd368e3d8ca762d9f5f2fd84ac5f804834027
parent9cbb956ba2a98ad556321eb9bcd853680ad15cfd
hwmon: tegra: tsensor: creating sys nodes under hwmon

Though tsensor driver was registered as hwmon driver,
sys nodes were not geting created under /sys/class/hwmon.
Hence fixing it.

bug 858158

Original-Change-Id: I6ca226c2a22385c4d0d9ef747267ab0e3060d905
Reviewed-on: http://git-master/r/44313
Tested-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

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