diff options
author | Kevin Hilman <khilman@linaro.org> | 2015-01-15 04:34:58 +0300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2015-01-26 08:23:59 +0300 |
commit | add513be1c47b3b2765c3f618a69c9db26d8dc27 (patch) | |
tree | 60b7025ed1f4cc6f838ccdb963f6664b2d25107e /drivers/hwmon/ina2xx.c | |
parent | b721fe2a3a92b896ba1b41e338471dfef672052a (diff) | |
download | linux-add513be1c47b3b2765c3f618a69c9db26d8dc27.tar.xz |
hwmon: (ina2xx) Add ina231 compatible string
Add support for "ina231" as compatible string, and update
Documentation and Kconfig accordingly.
Tested with the Exynos5422-based odroid-xu3 board which has on-board
INA231 sensors.
Signed-off-by: Kevin Hilman <khilman@linaro.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/ina2xx.c')
-rw-r--r-- | drivers/hwmon/ina2xx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hwmon/ina2xx.c b/drivers/hwmon/ina2xx.c index 611ec4edd979..d1542b7d4bc3 100644 --- a/drivers/hwmon/ina2xx.c +++ b/drivers/hwmon/ina2xx.c @@ -538,6 +538,7 @@ static const struct i2c_device_id ina2xx_id[] = { { "ina220", ina219 }, { "ina226", ina226 }, { "ina230", ina226 }, + { "ina231", ina226 }, { } }; MODULE_DEVICE_TABLE(i2c, ina2xx_id); |