2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-24 13:13:57 +08:00

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: 0caecaa872 ("regulator: qcom_spmi: Add support for SAW")
Signed-off-by: Niklas Cassel <niklas.cassel@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Niklas Cassel 2018-07-16 15:32:53 +02:00 committed by Mark Brown
parent 85046a1552
commit 9689ca0af3
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0

View File

@ -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)
{