summaryrefslogtreecommitdiffstats
path: root/firmware/advansys
diff options
context:
space:
mode:
authorBartosz Golaszewski <bgolaszewski@baylibre.com>2015-01-05 15:20:55 +0100
committerGuenter Roeck <linux@roeck-us.net>2015-01-26 06:23:59 +0100
commit8a5fc79513afe325fd755026299d0bfdb47e42de (patch)
tree0e61597ce857a95050ecafc262a0902d47e49e99 /firmware/advansys
parenthwmon: (ina2xx) don't accept shunt values greater than the calibration factor (diff)
downloadlinux-8a5fc79513afe325fd755026299d0bfdb47e42de.tar.xz
linux-8a5fc79513afe325fd755026299d0bfdb47e42de.zip
hwmon: (ina2xx) make shunt resistance configurable at run-time
The shunt resistance can only be set via platform_data or device tree. This isn't suitable for devices in which the shunt resistance can change/isn't known at boot-time. Add a sysfs attribute that allows to read and set the shunt resistance. Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'firmware/advansys')
0 files changed, 0 insertions, 0 deletions