summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/ibmpex.c
Commit message (Collapse)AuthorAgeFilesLines
* ibmpex: add endian annotation to extract_data() helperHarvey Harrison2009-01-061-1/+1
| | | | | | | Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Cc: "Darrick J. Wong" <djwong@us.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* hwmon: (ibmpex) Automatically load on IBM systems via DMIDarrick J. Wong2008-10-171-0/+6
| | | | | Signed-off-by: Darrick J. Wong <djwong@us.ibm.com> Signed-off-by: Jean Delvare <khali@linux-fr.org>
* ibmpex: report temperatures in mC, not CDarrick J. Wong2008-03-191-1/+1
| | | | | | | | | | | ibmpex's temperature sensors report incorrect units. Apply a conversion factor so that tempertures report correctly. Until now, no systems seemed to report temperatures this way, but evidently QS2x blades do. Signed-off-by: Darrick J. Wong <djwong@us.ibm.com> Cc: "Mark M. Hoffman" <mhoffman@lightlink.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* ibmpex: correct power use multipliers for QS2x bladeDarrick J. Wong2008-03-191-3/+8
| | | | | | | | | | The QS2x blades ships with v2.54 of the firmware, which use the same multiplier for all power meters. Signed-off-by: Darrick J. Wong <djwong@us.ibm.com> Cc: Mark M. Hoffman <mhoffman@lightlink.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* hwmon: (ibmpex) Change printk to dev_{info,err} macrosDarrick J. Wong2007-11-081-25/+23
| | | | | | | | Clean up printk use in ibmpex. Signed-off-by: Darrick J. Wong <djwong@us.ibm.com> Acked-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
* hwmon: (ibmpex.c) fix NULL dereferenceAdrian Bunk2007-11-081-1/+1
| | | | | | | | | Don't dereference "data" when we know for sure it's NULL. Spotted by the Coverity checker. Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
* hwmon: (ibmpex) Release IPMI user if hwmon registration failsDarrick J. Wong2007-10-111-2/+1
| | | | | | | | Roel Kluin <12o3l@tiscali.nl> found a minor defect in the init code if hwmon device registration fails. Signed-off-by: Darrick J. Wong <djwong@us.ibm.com> Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
* hwmon: IBM power meter driverDarrick J. Wong2007-10-091-0/+608
Add a driver to export IBM PowerExecutive power meter sensors. Signed-off-by: Darrick J. Wong <djwong@us.ibm.com> Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>