[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1421279852-27965-1-git-send-email-khilman@kernel.org>
Date: Wed, 14 Jan 2015 15:57:32 -0800
From: Kevin Hilman <khilman@...nel.org>
To: Guenter Roeck <linux@...ck-us.net>, lm-sensors@...sensors.org
Cc: linux-samsung-soc@...r.kernel.org, Jean Delvare <jdelvare@...e.de>,
linux-kernel@...r.kernel.org (open list)
Subject: [PATCH] hwmon: (ina2xx) Add ina231 compatible string
From: Kevin Hilman <khilman@...aro.org>
Add support for "ina231" as compatible string.
Tested with the Exynos5422-based odroid-xu3 board which has on-board
INA231 sensors.
Signed-off-by: Kevin Hilman <khilman@...aro.org>
---
drivers/hwmon/ina2xx.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/hwmon/ina2xx.c b/drivers/hwmon/ina2xx.c
index e01feba909c3..8c4a29bd2eaf 100644
--- a/drivers/hwmon/ina2xx.c
+++ b/drivers/hwmon/ina2xx.c
@@ -287,6 +287,7 @@ static const struct i2c_device_id ina2xx_id[] = {
{ "ina220", ina219 },
{ "ina226", ina226 },
{ "ina230", ina226 },
+ { "ina231", ina226 },
{ }
};
MODULE_DEVICE_TABLE(i2c, ina2xx_id);
--
2.1.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists