[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20181101001149.13453-4-masneyb@onstation.org>
Date: Wed, 31 Oct 2018 20:11:45 -0400
From: Brian Masney <masneyb@...tation.org>
To: sre@...nel.org, robh+dt@...nel.org, mark.rutland@....com,
andy.gross@...aro.org, david.brown@...aro.org,
bjorn.andersson@...aro.org, linus.walleij@...aro.org
Cc: linux-pm@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-msm@...r.kernel.org,
linux-soc@...r.kernel.org, linux-gpio@...r.kernel.org,
jonathan@...ek.ca, masneyb@...tation.org
Subject: [PATCH v2 3/7] power: supply: bq24190_charger: add of_match for usb-otg-vbus regulator
From: Jonathan Marek <jonathan@...ek.ca>
This patch adds an of_match for the usb-otg-vbus regulator to
bq24190_charger.
Signed-off-by: Jonathan Marek <jonathan@...ek.ca>
Signed-off-by: Brian Masney <masneyb@...tation.org>
---
drivers/power/supply/bq24190_charger.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/power/supply/bq24190_charger.c b/drivers/power/supply/bq24190_charger.c
index 44d3aff32885..9e7f3e33458a 100644
--- a/drivers/power/supply/bq24190_charger.c
+++ b/drivers/power/supply/bq24190_charger.c
@@ -577,6 +577,7 @@ static const struct regulator_ops bq24190_vbus_ops = {
static const struct regulator_desc bq24190_vbus_desc = {
.name = "usb_otg_vbus",
+ .of_match = "usb-otg-vbus",
.type = REGULATOR_VOLTAGE,
.owner = THIS_MODULE,
.ops = &bq24190_vbus_ops,
--
2.17.2
Powered by blists - more mailing lists