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 <[email protected]>
Signed-off-by: Brian Masney <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
This commit is contained in:
Jonathan Marek 2018-10-31 20:11:45 -04:00 • committed by Sebastian Reichel
commit 74d09c927c

View file

@ -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,