Thread (7 messages) 7 messages, 2 authors, 2017-08-25
STALE3209d

[PATCH v2 1/5] power: bq24190_charger: Add ti,bq24192i to devicetree table

From: Liam Breck <hidden>
Date: 2017-08-07 19:54:40
Subsystem: power supply class/subsystem and drivers, the rest · Maintainers: Sebastian Reichel, Linus Torvalds

From: Liam Breck <redacted>

bq24192i was previously only in ID table, so add it to DT table.

Cc: Tony Lindgren <tony@atomide.com>
Cc: Hans de Goede <redacted>
Signed-off-by: Liam Breck <redacted>
---
 drivers/power/supply/bq24190_charger.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/power/supply/bq24190_charger.c b/drivers/power/supply/bq24190_charger.c
index 14199561..3340ffa2 100644
--- a/drivers/power/supply/bq24190_charger.c
+++ b/drivers/power/supply/bq24190_charger.c
@@ -1732,13 +1732,12 @@ MODULE_DEVICE_TABLE(i2c, bq24190_i2c_ids);
 #ifdef CONFIG_OF
 static const struct of_device_id bq24190_of_match[] = {
 	{ .compatible = "ti,bq24190", },
+	{ .compatible = "ti,bq24192i", },
 	{ },
 };
 MODULE_DEVICE_TABLE(of, bq24190_of_match);
 #else
-static const struct of_device_id bq24190_of_match[] = {
-	{ },
-};
+static const struct of_device_id bq24190_of_match[] = { {} };
 #endif
 
 static struct i2c_driver bq24190_driver = {
-- 
2.13.2
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help