From: David Brownell Date: Thu, 18 Jan 2007 05:45:48 +0000 (-0500) Subject: Input: ads7846 - be more compatible with the hwmon framework X-Git-Tag: v2.6.21-rc1~274^2~228^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c8dc071517ec2843869024dc82be2e246f41064;p=pandora-kernel.git Input: ads7846 - be more compatible with the hwmon framework - Hook up to hwmon * show sensor attributes only if hwmon is present * ... and the board's reference voltage is known * otherwise be just a touchscreen - Report voltages per hwmon convention * measure in millivolts * voltages are named in[0-8]_input (ugh) * for 7846 chips, properly range-adjust vBATT/in1_input Battery measurements help during recharge monitoring. On OSK/Mistral, the measured voltage agreed with a multimeter to several decimal places. Signed-off-by: David Brownell Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed