From patchwork Thu Jun 17 05:17:11 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 462110 Delivered-To: patch@linaro.org Received: by 2002:a02:735a:0:0:0:0:0 with SMTP id a26csp100152jae; Wed, 16 Jun 2021 22:18:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxlEui5dm0FpySsEvoZuUvtfFE83FyzrX+eL9kG6UgEPPNa3B/j3bBBWivV4+BolhT0IIL1 X-Received: by 2002:a92:dc46:: with SMTP id x6mr2245124ilq.66.1623907088087; Wed, 16 Jun 2021 22:18:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623907088; cv=none; d=google.com; s=arc-20160816; b=YVK5i9OK6RXCqmaYmNhrlF9MZwzkNZtlbxjehPUks4V4TecbaLbuzghEAIWLdsM47Y p7r+OIeCaxWGoc5dlhQhaKpdIk5swLBR3gKwzrpyrXDnPcP+wAz7hbLXzb1CrX87Ef3O aaAMLQ+JW0FwBFv0H4ybRE/1VLXtz3QLEmRXgdPXR3/fYGZPeEnqwhZ0KeOw3CyPH1A/ /K7QpV0rH4fsjb6Rz2Q6BH0R/aIfyhfZ6mIO/CQLtKfrg59PW2K9kpEnEHc/pg1CqtW0 ATYs8arnsy5jWW/KzOaqrYthL3p4fa9Evnt1MWN8ZGtxW5KP7yGuNHIJsfSyXIY5Oh4+ R+TQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=LHv1lTvf9/mvfXwwyWB3sDRCKdNlNOiyEsJvKG7acF0=; b=VPOLqPvpjSHjRJgCr8hEKt0yw929VxFYr9OFZQwDsmBosEsODIBrGltTtb1sTPO0d9 P5i5dD6Ml9sYnHJZjLh8UmxjMef2lpANDUazT/ym6HjTf9ZS9K9P0R5O0oelFlm4e2wR P8bshfLdMAX/lXCacHJtCqPiGncfq0a+xKPSCHAyFIY4keeG9T6sGNVXt4e8FKZ5UgfB PPW/fhEJAtJdCZIDMfjoGqgWFt2+YSpwaTgwNHASHCxrGEgvMRbU+uTSblYtWT1/HS9m ZjmXUaMU+r5F2HBiF/Ql7uHtqmj8MU1ap63SJI3I5a1HygLal6xW+DJsouru6iGTBl2F w/rA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=t0xflEJj; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m3si4559212ild.74.2021.06.16.22.18.07; Wed, 16 Jun 2021 22:18:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-msm-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=@linaro.org header.s=google header.b=t0xflEJj; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230212AbhFQFUI (ORCPT + 17 others); Thu, 17 Jun 2021 01:20:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230118AbhFQFUF (ORCPT ); Thu, 17 Jun 2021 01:20:05 -0400 Received: from mail-pg1-x52c.google.com (mail-pg1-x52c.google.com [IPv6:2607:f8b0:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 50597C0611C1 for ; Wed, 16 Jun 2021 22:17:54 -0700 (PDT) Received: by mail-pg1-x52c.google.com with SMTP id e20so4011362pgg.0 for ; Wed, 16 Jun 2021 22:17:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=LHv1lTvf9/mvfXwwyWB3sDRCKdNlNOiyEsJvKG7acF0=; b=t0xflEJjzX0MQdo99lwhAaKswCGKauZQbzDW92uX1Av2/dpmdgkOEn5YiUy/sKR71s Dc207v+m5o/HA1PGain4ADtIHovqO06TmPGokCl5mXzOHIZrJDhdpmWothW6G9SMp1h+ G064sbU5BDvTFdct86ayxbfMftW4y8iUcL/YempEnzeMTFkOqZbo2eJxpX/4TVRKWkJe MjZU85fmslE/yZyDnHASNpOG5msBaFaiD71NoESs1lUQ9vo2C1stQ4zgVTG0q8Pxfiqi Gnj75HSGuYC+CNSFx76S/yYvxuh6lCIRlKPyXvhWei/ZZGkjbXA1mgCPz/m6NP4FFcUj MbnA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=LHv1lTvf9/mvfXwwyWB3sDRCKdNlNOiyEsJvKG7acF0=; b=sYC37VfF0MWmg3voLgCyUYNx6PS8zGl3zxv/N+1fwVKZzWu8UC7CbJXhbDmR0ZAS+a VqDdjVxoDRQtlbBNoMaamBVx1irvsnvUsPvCNaJMEO/NP2QviP+d0Bx44ovYzxQWAxoN VFqRzo0b255iV8Chxq7iv9lis+nE4N1cm09r6kiT33YNi0PajLocsS8960Xx2NM8fxOX gJoG3bsmDL1Q3dPuR7WqCtGMFJK+Sbc8ScUjgrcPl2uWJsTgm4Ncb2pTkGEiEEJvPVHK MucnHnq6KCzlfQ59buDROztSufgjXpY5ViZe+R6AiPTiQ+gU7GWrq5XejAi99SxuBiuv 4RYQ== X-Gm-Message-State: AOAM533EFn5ZlynuCjyP9KS0XoO4qucH2KNdabi4qjBUP+/gLDebnV0t kb+UUBbMXCtE6KyfyiiLyQyha6AjLfPj2w== X-Received: by 2002:a62:b415:0:b029:2f4:829f:e483 with SMTP id h21-20020a62b4150000b02902f4829fe483mr3547045pfn.4.1623907073507; Wed, 16 Jun 2021 22:17:53 -0700 (PDT) Received: from localhost.name ([122.177.46.2]) by smtp.gmail.com with ESMTPSA id 188sm3900893pfz.146.2021.06.16.22.17.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Jun 2021 22:17:53 -0700 (PDT) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org Cc: bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, lgirdwood@gmail.com, Mark Brown , Bjorn Andersson Subject: [PATCH v3 4/5] regulator: qcom-rpmh: Add terminator at the end of pm7325x_vreg_data[] array Date: Thu, 17 Jun 2021 10:47:11 +0530 Message-Id: <20210617051712.345372-5-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210617051712.345372-1-bhupesh.sharma@linaro.org> References: <20210617051712.345372-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add missing terminator(s) at the end of pm7325x_vreg_data[] array instances. Fixes: c4e5aa3dbee5 ("regulator: qcom-rpmh: Add PM7325/PMR735A regulator support") Cc: Mark Brown Reviewed-by: Bjorn Andersson Signed-off-by: Bhupesh Sharma --- drivers/regulator/qcom-rpmh-regulator.c | 2 ++ 1 file changed, 2 insertions(+) -- 2.31.1 diff --git a/drivers/regulator/qcom-rpmh-regulator.c b/drivers/regulator/qcom-rpmh-regulator.c index 6a8b7ac67bbe..af41a517da99 100644 --- a/drivers/regulator/qcom-rpmh-regulator.c +++ b/drivers/regulator/qcom-rpmh-regulator.c @@ -1070,6 +1070,7 @@ static const struct rpmh_vreg_init_data pm7325_vreg_data[] = { RPMH_VREG("ldo17", "ldo%s17", &pmic5_pldo_lv, "vdd-l11-l17-l18-l19"), RPMH_VREG("ldo18", "ldo%s18", &pmic5_pldo_lv, "vdd-l11-l17-l18-l19"), RPMH_VREG("ldo19", "ldo%s19", &pmic5_pldo_lv, "vdd-l11-l17-l18-l19"), + {} }; static const struct rpmh_vreg_init_data pmr735a_vreg_data[] = { @@ -1083,6 +1084,7 @@ static const struct rpmh_vreg_init_data pmr735a_vreg_data[] = { RPMH_VREG("ldo5", "ldo%s5", &pmic5_nldo, "vdd-l5-l6"), RPMH_VREG("ldo6", "ldo%s6", &pmic5_nldo, "vdd-l5-l6"), RPMH_VREG("ldo7", "ldo%s7", &pmic5_pldo, "vdd-l7-bob"), + {} }; static int rpmh_regulator_probe(struct platform_device *pdev)