From: Ira W. Snyder Date: Mon, 13 Dec 2010 16:42:30 +0000 (-0500) Subject: hwmon: (ltc4215) make sysfs file match the alarm cause X-Git-Tag: v2.6.37-rc6~20^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a6bf658c3b9d1d0e520d320b6392c8680c2e381;p=pandora-kernel.git hwmon: (ltc4215) make sysfs file match the alarm cause The ltc4215 driver used the chip's "power good" status bit to provide the power1_alarm file. This is wrong: the chip is really reporting the status of one of the monitored voltages. Change the sysfs file from power1_alarm to in2_min_alarm instead. This matches the voltage that the chip is raising an alarm for. Signed-off-by: Ira W. Snyder Signed-off-by: Guenter Roeck --- Reading git-diff-tree failed