Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp3218252pxa; Tue, 18 Aug 2020 09:27:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxu740HLg1/vwia7KZW5yXHl8lSmGmMsm0vBPodgMzl6sUAotE0qS6pcLZhk/4GJunaHj2h X-Received: by 2002:a17:906:1d56:: with SMTP id o22mr13396153ejh.530.1597768023773; Tue, 18 Aug 2020 09:27:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597768023; cv=none; d=google.com; s=arc-20160816; b=tX20T/B8conJRx0i8BgGiUHDb0MINbzI9EgI0Mr1/fdVZUkZm+fmAAryLHGWPtB4Lz abEM+Oota9Pn3CSCb9pnV+rYuweLf/unCsKte7OwyHicuOOXUqm5vxofD9gmmZEJsbEt LozWapwYMbANrmWU2HRu2rLQhgxynBUd3LqFU1aJZPFsRlXCnJNBPdE1lTyyQHYg3O9i NzxWv1fqr2bJ4cFE2XgSnjBKxAUhltw+xiGzq/ds2um/S4irGgtuIGBQ1LNHZ8KLeO76 WR+tpLKM9X8AW2jHb8dcf7S8mbUc9/XwEuK4E8Y7DVcSHbuCAWAiiBvq6dHorwhGV8rL izjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=TqDr2bIlDLtYnNvZqpiixZQmHFVnxcx4iPQhqi0JosM=; b=KXlYGx/uVsGns8/l8rvCPFwrybmLKiq9GFizrgazIN5Bj3RtqBOQxSi1e3dN3mI86M RQZHkocAjq+jrdg615xg0mWTlzYO1yzoqLPPRmB4JiqcMtmBNpxSAOXvgHbmwscFqYkP ZzZldDkR6xeh32OdjjiB6zD69ofx9VTfG+KOKgiC0s9qlw9lYnOftY9Tns+YPhKOPkFD i/274QNPzDzoYwk3Tc2Yg7nqZxlDvyGfoN2WYytXPiAtxmFvopfSjlir5HWl4ECrL3K4 w8v6N/UzUcvud5eZ5KfZGK7ACVSAaVDJu9dYpjzoWUVNRi2qzLnCfaNuM+yTvhO4fIjL aAbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@marek-ca.20150623.gappssmtp.com header.s=20150623 header.b=mYMkTOrz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gx14si13858996ejb.99.2020.08.18.09.26.37; Tue, 18 Aug 2020 09:27:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@marek-ca.20150623.gappssmtp.com header.s=20150623 header.b=mYMkTOrz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727875AbgHRQZ0 (ORCPT + 99 others); Tue, 18 Aug 2020 12:25:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42018 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727807AbgHRQZE (ORCPT ); Tue, 18 Aug 2020 12:25:04 -0400 Received: from mail-qv1-xf43.google.com (mail-qv1-xf43.google.com [IPv6:2607:f8b0:4864:20::f43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF40CC061342 for ; Tue, 18 Aug 2020 09:25:04 -0700 (PDT) Received: by mail-qv1-xf43.google.com with SMTP id r19so9792814qvw.11 for ; Tue, 18 Aug 2020 09:25:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marek-ca.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=TqDr2bIlDLtYnNvZqpiixZQmHFVnxcx4iPQhqi0JosM=; b=mYMkTOrzXL2mg6SR9UVW8uflezWrPRs/DctiC1r8m+fUPDVFQLdFdeboWF4U1YTc+t T4IuBIdES/07OHLsd5RfUS5PAOk9+FSuTPjhKEKObEA+L7HwwKVzdFySMdRRSUhhmWPr qP1qAFIwym901nzt1m8xtlm8NwLmsom3pt8rav9/dPaaCG0uU0gbSTowUNrMSjFEyBLN 1/EyMGXUXlKchiCkJRRkjxjFdPijtPpyXIqdubcPhumnAT9KHNqlK4nnloVWwWK9LomT W7r0F7XLLgRrd776Skp0WqG2xzS3qHVKig9o4lWRhfWMqwJjCHhk45yZF76GaE5JgqD9 IPDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=TqDr2bIlDLtYnNvZqpiixZQmHFVnxcx4iPQhqi0JosM=; b=fVbxdwsCygUXd73BlHiuASvveaDeiFijMf1raN4k6K3UZ/txL3QRIxpno6hYGUdOPe 9EKKWRBptGFvC6Bvyb6GIq9l3dHqAAe25b2qBladT7qeE58IoBRPyDl8yY3Olvbn2wKr o9HFIGv8hsI5rdDwk+Zabg6aHFUSVm9E1V9k+uZFkShZWCYZlr8zaXwQDpL2m/zip4ij q1rpHEQSnaYUzFp0seuF6rbM7A2eQBrxe+O3JVfTV0YDAvADL1J8xM2oafjThGtPHVTx EIevmsc7ocw7Q6jYOomDTJLIFrHCdyGfQq47AX8DelRbixPncb8tV7IrdMlHDGbulehS 7vLg== X-Gm-Message-State: AOAM5308xBRi524YX+DMxuLNo18cokayAiqb2BOSSk7eXXNeOm/XI9Oh UuEh2I5peS20f0qF1ASgQwwpPA== X-Received: by 2002:a0c:b52b:: with SMTP id d43mr20176800qve.158.1597767902819; Tue, 18 Aug 2020 09:25:02 -0700 (PDT) Received: from localhost.localdomain ([147.253.86.153]) by smtp.gmail.com with ESMTPSA id d16sm20868571qkk.106.2020.08.18.09.25.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Aug 2020 09:25:01 -0700 (PDT) From: Jonathan Marek To: linux-arm-msm@vger.kernel.org Cc: Andy Gross , Bjorn Andersson , Liam Girdwood , Mark Brown , Wesley Cheng , linux-kernel@vger.kernel.org (open list:VOLTAGE AND CURRENT REGULATOR FRAMEWORK) Subject: [RESEND PATCH] regulator: set of_node for qcom vbus regulator Date: Tue, 18 Aug 2020 12:25:08 -0400 Message-Id: <20200818162508.5246-1-jonathan@marek.ca> X-Mailer: git-send-email 2.26.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This allows the regulator to be found by devm_regulator_get(). Fixes: 4fe66d5a62fb ("regulator: Add support for QCOM PMIC VBUS booster") Signed-off-by: Jonathan Marek --- drivers/regulator/qcom_usb_vbus-regulator.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/regulator/qcom_usb_vbus-regulator.c b/drivers/regulator/qcom_usb_vbus-regulator.c index 8ba947f3585f..457788b50572 100644 --- a/drivers/regulator/qcom_usb_vbus-regulator.c +++ b/drivers/regulator/qcom_usb_vbus-regulator.c @@ -63,6 +63,7 @@ static int qcom_usb_vbus_regulator_probe(struct platform_device *pdev) qcom_usb_vbus_rdesc.enable_mask = OTG_EN; config.dev = dev; config.init_data = init_data; + config.of_node = dev->of_node; config.regmap = regmap; rdev = devm_regulator_register(dev, &qcom_usb_vbus_rdesc, &config); -- 2.26.1