public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] hwmon: (ina2xx) Add ina231 compatible string
@ 2015-01-14 23:57 Kevin Hilman
  2015-01-15  0:56 ` Guenter Roeck
  0 siblings, 1 reply; 3+ messages in thread
From: Kevin Hilman @ 2015-01-14 23:57 UTC (permalink / raw)
  To: Guenter Roeck, lm-sensors; +Cc: linux-samsung-soc, Jean Delvare, open list

From: Kevin Hilman <khilman@linaro.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@linaro.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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-01-15  1:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-14 23:57 [PATCH] hwmon: (ina2xx) Add ina231 compatible string Kevin Hilman
2015-01-15  0:56 ` Guenter Roeck
2015-01-15  1:30   ` Kevin Hilman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox