git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e794704
)
hwmon: (ina2xx) make shunt resistance configurable at run-time
author
Bartosz Golaszewski
<bgolaszewski@baylibre.com>
Mon, 5 Jan 2015 14:20:55 +0000
(15:20 +0100)
committer
Guenter Roeck
<linux@roeck-us.net>
Mon, 26 Jan 2015 05:23:59 +0000
(21:23 -0800)
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>
No differences found