lkml.org 
[lkml]   [2018]   [Dec]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 3/7] power: supply: bq24190_charger: add of_match for usb-otg-vbus regulator
Hi,

On Wed, Oct 31, 2018 at 08:11:45PM -0400, Brian Masney wrote:
> From: Jonathan Marek <jonathan@marek.ca>
>
> 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>
> ---

Thanks, queued.

-- Sebastian

> 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
>
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2018-12-05 22:57    [W:2.230 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site