From patchwork Fri Jun 26 06:57:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 11627183 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BA7DA90 for ; Fri, 26 Jun 2020 11:10:49 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8B6082082E for ; Fri, 26 Jun 2020 11:10:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="oZKhapjw"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="o4qPuOSq" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8B6082082E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=EOcjAukzw7F7yOWTNuY8JwBSBraoA+ThB3cSSioxGpo=; b=oZKhapjwiIQss7j7eAMkyrzFV wJCTRpFL1mSxiFm2xyvOYYrrjEKTcYYb78NIWVDTem4kocPG6dvVgNoJ2iW+w5Cg//mTZWqut71nD ++AtfNn3jgxl5bJG9g4xNfg8u9cH30NHd2T4pew4LRP1ZWweBj5EN/KKoAb7YqgaWHI/+BpUlrh/y DXesdNfEZDBMRZ6Z7uOHZ69nZNDBWHFXUUyv6IMe+ymHF/rxvd/KifiEro3tTVGWpPUvlyskWSRZR D1mjTBejojBJkb6e12tDMduMu1Af9rJp8nNLgEjgTV5l6XAwGx0v3/RlCS7bn7kCz9tRitLmN4atl SYRByN7qA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jomCn-0003Aa-DH; Fri, 26 Jun 2020 11:07:37 +0000 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jokrd-0008F8-65 for linux-arm-kernel@lists.infradead.org; Fri, 26 Jun 2020 09:41:52 +0000 Received: by mail-wm1-x344.google.com with SMTP id j18so8209022wmi.3 for ; Fri, 26 Jun 2020 02:41:41 -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=LPP/UO1S0fFlAO//S91M0USmj0hNvysUxqLwY/EHMpU=; b=o4qPuOSqulK9KuVSnsgC92nheOHo5sPkiZnIT04OlBWs0kqtIAb1N4z9yQia5M2icA guTWlRhrkyCoWzC3edxywWhCMB3kYYXx9d8LTrmQCGfjb/QaOR6ps5jq6FstBy2QKQJb plyMLcEJmAyltVcNPygxskIaJ7VzzxZD4OsFPUEhxq4+1VRKnED8SBVFGi4HWn9pUxx+ tLSKSQgUHmlCfWhnt7UMwcLy7gfDfBLZbhv5ML1APO4aygCLEAPPS0iKzMTl7AMxCCSl d7BR7Lw8RUp82W2CZ80jxbfRBZ1g1YuuLsfxPW4NCtWVmtct5JlmAwZ+yoIeeDj7kiuO Werg== 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=LPP/UO1S0fFlAO//S91M0USmj0hNvysUxqLwY/EHMpU=; b=NPJIUBgAZStoLBXpOUTTUaUY7Y3/M6aMj3dgS9TKwXP6cs6Pb5+Gw/2lDxF0OVUDYa YVr+Pd6IxMaWMFmos+7tn/yOf3c2W7Sg+LmTsd/7LeVAaQVxI/5cGIvhT874MrDSxfrF N6O5Gz4QVnAWIS2ZQbCSWRyx1QfaeACo/okMiIT6AZa+IZX4EMnzWhrzuYww6uQVZOM9 GzAQkvrkW6Os8u72LTmEW1bFOa98L4u2rukT5JryJNH2awfuzJbWZd976ngNA5t8Ac3q xS0j22YJPpbiFcC6M6hPxIV38CPf2n0U5dh5R+80BHq9PH+ACNFoclOmauKReCwTd/3d t8nw== X-Gm-Message-State: AOAM530sIi5ClLZDhgq2DU2G/Wmaes+f5v/6AeV0Fuc1PDfcNfO59aOH C5/29PFpCnfgCvMEw9BEgnYsgLepLMc= X-Google-Smtp-Source: ABdhPJx/RXJWJ6f3locg3j1C1CnDGokvk4hRTKSjAebqtaEGNZhKkk9x/cjUDtFriHU5yMFzH+64dQ== X-Received: by 2002:a1c:1bc4:: with SMTP id b187mr1906640wmb.105.1593154672520; Thu, 25 Jun 2020 23:57:52 -0700 (PDT) Received: from localhost.localdomain ([2.27.35.144]) by smtp.gmail.com with ESMTPSA id x18sm15355269wmi.35.2020.06.25.23.57.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jun 2020 23:57:51 -0700 (PDT) From: Lee Jones To: broonie@kernel.org, lgirdwood@gmail.com Subject: [PATCH 9/9] regulator: qcom_smd-regulator: Remove unused 'struct regulator_desc pmi8994_boost' Date: Fri, 26 Jun 2020 07:57:38 +0100 Message-Id: <20200626065738.93412-10-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200626065738.93412-1-lee.jones@linaro.org> References: <20200626065738.93412-1-lee.jones@linaro.org> MIME-Version: 1.0 X-Spam-Note: CRM114 invocation failed X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:344 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Bjorn Andersson , Andy Gross , Lee Jones , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org This was an upstreaming error. Remove it as it's not to be used. Fixes the following W=1 kernel build warning: drivers/regulator/qcom_smd-regulator.c:477:36: warning: ‘pmi8994_boost’ defined but not used [-Wunused-const-variable=] Cc: Andy Gross Cc: Bjorn Andersson Cc: linux-arm-msm@vger.kernel.org Signed-off-by: Lee Jones Reviewed-by: Bjorn Andersson --- drivers/regulator/qcom_smd-regulator.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/drivers/regulator/qcom_smd-regulator.c b/drivers/regulator/qcom_smd-regulator.c index 53a64d856926f..4c0a469d8a115 100644 --- a/drivers/regulator/qcom_smd-regulator.c +++ b/drivers/regulator/qcom_smd-regulator.c @@ -474,15 +474,6 @@ static const struct regulator_desc pmi8994_bby = { .ops = &rpm_bob_ops, }; -static const struct regulator_desc pmi8994_boost = { - .linear_ranges = (struct linear_range[]) { - REGULATOR_LINEAR_RANGE(4000000, 0, 30, 50000), - }, - .n_linear_ranges = 1, - .n_voltages = 31, - .ops = &rpm_smps_ldo_ops, -}; - static const struct regulator_desc pm8998_ftsmps = { .linear_ranges = (struct linear_range[]) { REGULATOR_LINEAR_RANGE(320000, 0, 258, 4000),