mirror of
https://github.com/Evolution-X-Devices/kernel_google_b1c1
synced 2026-02-08 06:21:22 +00:00
[ Upstream commit 3ad867001c91657c46dcf6656d52eb6080286fd5 ] 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> Signed-off-by: Sasha Levin <alexander.levin@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
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;
|
|
};
|