summaryrefslogtreecommitdiff
path: root/drivers/power
diff options
context:
space:
mode:
authorJonathan Marek <jonathan@marek.ca>2018-11-01 03:11:45 +0300
committerSebastian Reichel <sebastian.reichel@collabora.com>2018-12-06 00:52:05 +0300
commit74d09c927cb69bd10c63e0c6dd3d1c71709ee7ea (patch)
tree196371b8974660f5d067ae1f45314217276c6081 /drivers/power
parent5ea67bb0b090033750a91325448dbee1d5b58b01 (diff)
downloadlinux-74d09c927cb69bd10c63e0c6dd3d1c71709ee7ea.tar.xz
power: supply: bq24190_charger: add of_match for usb-otg-vbus regulator
This patch adds an of_match for the usb-otg-vbus regulator to bq24190_charger. Signed-off-by: Jonathan Marek <jonathan@marek.ca> Signed-off-by: Brian Masney <masneyb@onstation.org> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/power')
-rw-r--r--drivers/power/supply/bq24190_charger.c1
1 files changed, 1 insertions, 0 deletions
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,