From: Mark Brown <broonie@kernel.org>
To: Niklas Cassel <niklas.cassel@linaro.org>
Cc: Mark Brown <broonie@kernel.org>broonie@kernel.org,
Liam Girdwood <lgirdwood@gmail.com>,
linux-arm-msm@vger.kernel.org,
linux-kernel@vger.kernel.orglinux-kernel@vger.kernel.org
Subject: Applied "regulator: qcom_spmi: Do not initialise static to NULL" to the regulator tree
Date: Fri, 20 Jul 2018 17:45:21 +0100 [thread overview]
Message-ID: <E1fgYWv-00014q-CE@debutante> (raw)
In-Reply-To: <20180716113525.9335-4-niklas.cassel@linaro.org>
The patch
regulator: qcom_spmi: Do not initialise static to NULL
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 9689ca0af345b82d06a02e45cc214c1b8bad9e8d Mon Sep 17 00:00:00 2001
From: Niklas Cassel <niklas.cassel@linaro.org>
Date: Mon, 16 Jul 2018 15:32:53 +0200
Subject: [PATCH] regulator: qcom_spmi: Do not initialise static to NULL
Fix the following checkpatch error:
ERROR: do not initialise statics to NULL
+static struct regmap *saw_regmap = NULL;
Fixes: 0caecaa87202 ("regulator: qcom_spmi: Add support for SAW")
Signed-off-by: Niklas Cassel <niklas.cassel@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
---
drivers/regulator/qcom_spmi-regulator.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/regulator/qcom_spmi-regulator.c b/drivers/regulator/qcom_spmi-regulator.c
index ba3d5e63ada6..5246f5b870c2 100644
--- a/drivers/regulator/qcom_spmi-regulator.c
+++ b/drivers/regulator/qcom_spmi-regulator.c
@@ -1060,7 +1060,7 @@ static irqreturn_t spmi_regulator_vs_ocp_isr(int irq, void *data)
#define SAW3_AVS_CTL_TGGL_MASK 0x8000000
#define SAW3_AVS_CTL_CLEAR_MASK 0x7efc00
-static struct regmap *saw_regmap = NULL;
+static struct regmap *saw_regmap;
static void spmi_saw_set_vdd(void *data)
{
--
2.18.0
next prev parent reply other threads:[~2018-07-20 16:45 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-16 11:35 [PATCH 0/4] regulator: qcom_spmi: fix Bad of_node_put() splat Niklas Cassel
2018-07-16 11:35 ` [PATCH 1/4] regulator: qcom_spmi: Fix warning Bad of_node_put() Niklas Cassel
2018-07-16 12:01 ` Johan Hovold
2018-07-16 13:29 ` Niklas Cassel
2018-07-16 14:23 ` Johan Hovold
2018-07-16 11:35 ` [PATCH 2/4] regulator: qcom_spmi: Use correct regmap when checking for error Niklas Cassel
2018-07-20 16:45 ` Applied "regulator: qcom_spmi: Use correct regmap when checking for error" to the regulator tree Mark Brown
2018-07-16 11:35 ` [PATCH 3/4] regulator: qcom_spmi: Do not initialise static to NULL Niklas Cassel
2018-07-20 16:45 ` Mark Brown [this message]
2018-07-16 11:35 ` [PATCH 4/4] regulator: qcom_spmi: Indent with tabs instead of spaces Niklas Cassel
2018-07-20 16:45 ` Applied "regulator: qcom_spmi: Indent with tabs instead of spaces" to the regulator tree Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1fgYWv-00014q-CE@debutante \
--to=broonie@kernel.org \
--cc=niklas.cassel@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox