power: supply: bq24190_charger: add of_match for usb-otg-vbus regulator
authorJonathan Marek <jonathan@marek.ca>
Thu, 1 Nov 2018 00:11:45 +0000 (20:11 -0400)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Wed, 5 Dec 2018 21:52:05 +0000 (22:52 +0100)
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>
drivers/power/supply/bq24190_charger.c

index 44d3aff..9e7f3e3 100644 (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,