Commit 74d09c92 authored by Jonathan Marek's avatar Jonathan Marek Committed by Sebastian Reichel

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: default avatarJonathan Marek <jonathan@marek.ca>
Signed-off-by: default avatarBrian Masney <masneyb@onstation.org>
Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
parent 5ea67bb0
......@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment