commit | a0de56c81fcf9f1a691e22e519b0dff21c48c645 | [log] [tgz] |
---|---|---|
author | Marc Titinger <mtitinger@baylibre.com> | Wed Oct 28 12:04:53 2015 +0100 |
committer | Guenter Roeck <linux@roeck-us.net> | Wed Oct 28 21:53:00 2015 -0700 |
tree | 4861c30006a03eef3686baba462bc0a557b8a910 | |
parent | cc904f9cf26dc455cffbdf6e7eb86717e047d8ff [diff] |
hwmon: (ina2xx) convert driver to using regmap Any sysfs "show" read access from the client app will result in reading all registers (8 with ina226). Depending on the host this can limit the best achievable read rate. This changeset allows for individual register accesses through regmap. Tested with BeagleBone Black (Baylibre-ACME) and ina226. Signed-off-by: Marc Titinger <mtitinger@baylibre.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>