Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4573037ybb; Tue, 14 Apr 2020 09:52:56 -0700 (PDT) X-Google-Smtp-Source: APiQypJKy/sCH10REuh8HIACWuZOiPt3Gj/cqTdQBwiQ1A92paNHvXvyjSjcHRhJglz6xZhAnVtE X-Received: by 2002:a17:906:4451:: with SMTP id i17mr1079410ejp.194.1586883176695; Tue, 14 Apr 2020 09:52:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586883176; cv=none; d=google.com; s=arc-20160816; b=mdUbGgAc7DFPlRDmUktgrRgtkgUSZnBcJTzhtTSMMdsJREKLhtiJNIx/oDJD9oi0rM 2i6/bAZ2FhjSvhLyh9Qvlw2LdwKVrFg1eXfdcaJas31EuMLN89rBkb4HNQyatGhU89ZT S8XY2xuVtxJYZ6JfFStWdjSZFnRgN95qIlOgVSkSRi0GanlezSW8MJ7bXlsjYwnEQwZT lso12L4CCpoDSPngs7TCsItxacHfzz9u3PPJ5Di4qcwf0bAAAGZnAhYSTV2jy+DIKIDs 3VAEvoGEYAjdV76o3omF4tipk5y1xN39CCb6Zc5Cl1z0fdNETDKbbFVOCYX79wjAJwY8 U2Xg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:in-reply-to:subject:cc:to:from :date:dkim-signature; bh=Rewtcqs6qEQ8pZtLZxDpfCCH7i4t2Ehf/fN7U3ojZHI=; b=SNGBiDr2zrIH3r433RfGP1zlUvPD1MUIV9UDNGqGum8qmSRQ4QcU174ACDaBx932kV ZKkUxEfzUuZkEy4Gbii1t+nF236mg9uSR94xjqBo28AdfFnxv73qOFmxFHCN+KXBVYnb h/EWOOObzzNANTVmWZoK6oQB7o5PEYRx5pfjok7zBRO49MRVVf8R1rttNZebBwQmyW7G n7gHLNgUL5O9BnIdgV1cI928IgJWpLTNRjNgEwe7+OLMrlPmfjaFqtDd+zGiWzDbxgE6 JtC0u0L657GkWP4FydckMABjagCAI0XJENLx0bY4xfGgxqtYSrvqEJt0Cnd9eXlaq9F2 90hQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=dxVMlYZX; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e19si3101117edr.260.2020.04.14.09.52.32; Tue, 14 Apr 2020 09:52:56 -0700 (PDT) Received-SPF: pass (google.com: best guess record for 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=@kernel.org header.s=default header.b=dxVMlYZX; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391194AbgDNP6i (ORCPT + 99 others); Tue, 14 Apr 2020 11:58:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:57418 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391163AbgDNP6Q (ORCPT ); Tue, 14 Apr 2020 11:58:16 -0400 Received: from localhost (fw-tnat.cambridge.arm.com [217.140.96.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id F2015206D5; Tue, 14 Apr 2020 15:58:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1586879895; bh=HmaU3l3swntVmTdV5jrthH/lFKI1N3adOZ+7biFLSOI=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=dxVMlYZXoaXe/aiN330f9RuzDmQjZoNCvN62MZ9dHRvl65zKDCwjTGXWhhNe7wjK4 ld5qvIbx0Qrfvc23Klc24ONin5cq6TltqWHPXkgmp0478PKpHyk2fwTDuVBMN4eIyS zqpV+LK0YbvaBGVOJ57xUAhozogNVdHAt/SnPiGI= Date: Tue, 14 Apr 2020 16:58:12 +0100 From: Mark Brown To: Jason Yan Cc: agross@kernel.org, bjorn.andersson@linaro.org, broonie@kernel.org, Hulk Robot , lgirdwood@gmail.com, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Mark Brown Subject: Applied "regulator: qcom_rpm: remove defined but not used 'pm8921_ftsmps'" to the regulator tree In-Reply-To: <20200409114026.38383-1-yanaijie@huawei.com> Message-Id: X-Patchwork-Hint: ignore Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patch regulator: qcom_rpm: remove defined but not used 'pm8921_ftsmps' has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark From d2c2c218ea3f46cabd0955307d246e18371565dd Mon Sep 17 00:00:00 2001 From: Jason Yan Date: Thu, 9 Apr 2020 19:40:26 +0800 Subject: [PATCH] regulator: qcom_rpm: remove defined but not used 'pm8921_ftsmps' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix the following gcc warning: drivers/regulator/qcom_rpm-regulator.c:607:34: warning: ‘pm8921_ftsmps’ defined but not used [-Wunused-const-variable=] static const struct qcom_rpm_reg pm8921_ftsmps = { ^~~~~~~~~~~~~ Reported-by: Hulk Robot Signed-off-by: Jason Yan Reviewed-by: Bjorn Andersson Link: https://lore.kernel.org/r/20200409114026.38383-1-yanaijie@huawei.com Signed-off-by: Mark Brown --- drivers/regulator/qcom_rpm-regulator.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/drivers/regulator/qcom_rpm-regulator.c b/drivers/regulator/qcom_rpm-regulator.c index 7fc97f23fcf4..1ee8ec686ed3 100644 --- a/drivers/regulator/qcom_rpm-regulator.c +++ b/drivers/regulator/qcom_rpm-regulator.c @@ -604,16 +604,6 @@ static const struct qcom_rpm_reg pm8921_smps = { .supports_force_mode_bypass = false, }; -static const struct qcom_rpm_reg pm8921_ftsmps = { - .desc.linear_ranges = ftsmps_ranges, - .desc.n_linear_ranges = ARRAY_SIZE(ftsmps_ranges), - .desc.n_voltages = 101, - .desc.ops = &uV_ops, - .parts = &rpm8960_smps_parts, - .supports_force_mode_auto = true, - .supports_force_mode_bypass = false, -}; - static const struct qcom_rpm_reg pm8921_ncp = { .desc.linear_ranges = ncp_ranges, .desc.n_linear_ranges = ARRAY_SIZE(ncp_ranges), -- 2.20.1