mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 00:58:17 +07:00
3ad867001c
fix the sysfs shunt resistor read access: return the shunt resistor value, not the calibration register contents. update email address Signed-off-by: Lothar Felten <lothar.felten@gmail.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
20 lines
554 B
C
20 lines
554 B
C
/*
|
|
* Driver for Texas Instruments INA219, INA226 power monitor chips
|
|
*
|
|
* Copyright (C) 2012 Lothar Felten <lothar.felten@gmail.com>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*
|
|
* For further information, see the Documentation/hwmon/ina2xx file.
|
|
*/
|
|
|
|
/**
|
|
* struct ina2xx_platform_data - ina2xx info
|
|
* @shunt_uohms shunt resistance in microohms
|
|
*/
|
|
struct ina2xx_platform_data {
|
|
long shunt_uohms;
|
|
};
|