Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2347370imm; Mon, 16 Jul 2018 06:36:25 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdyJobMzMmIRR6qFrAaQugR7Mfd0njvgcPbhHB8Eul1mNbY32kFwocFqMrxmCQBPszGTY6m X-Received: by 2002:a17:902:9a8a:: with SMTP id w10-v6mr16716777plp.333.1531748185291; Mon, 16 Jul 2018 06:36:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531748185; cv=none; d=google.com; s=arc-20160816; b=Ez34iEzipkRby7oTDvqeQkKxjgBZMCCmMC97lTF2ayXawaziCXN3fD6AtitEl+ZDuu LvSUEmNTVtS4IiVAw0zpu6ygdaBrcEG4FG+ixTejb95eWIRghqn/dV747boJ2DVqQv3k 0kXP+TitAuI2muaqVPss/Qrd9TCPE2Ee7P0Ws/3lDOu04Bqaeanq8YgVGZjuNE2h7PXv 3KyiWNlwZ3OvfGZ2qVILkNfgs1HhUZisa+4wN1Emv6/MEbOBAxAsi3YdQyY2VtecVVxL H7zTrJk0kidM/W502K06NkN1NdTTV0K4B+hdFB+dlpKroXiJx3NNPlHbTJq08o7W2g1H 3yJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=Ix+yxRd1GRySziQI95ggQSolzs26/X4BBwZ7n6ggkqI=; b=JXJyIZst72QPTi8xexZIHGuWtQNlGmRKUnM+G21jA0qNM+vKBEdl6ddx2XePsJm6k7 dj3AE4pT4wLFXMuovYsZNKd6wv3u+eKBU5TWIjXJHjo0BK9yEjk7tYYA/vdzOpaQPP6X rbezMld/lL3c07hUxFHraGvWJbC/+y06EZgykiAFBR0drPpbh62rCAzZMJTBx+u11Ft0 f8+qLUtCDW44qAmTbov0g6pjXEnGb00IuP93KHxmRbhk5Y4Awmip2uCNZfy236V0Jacp VzSD0CqmTEMMr8fML7tra1SCYE28ItXdg+ZP31Cuep0ZFUHOQra2GwqdYejc1rbQqfyx VSQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=b7AtPHHn; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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. [209.132.180.67]) by mx.google.com with ESMTP id w1-v6si4830158plq.115.2018.07.16.06.36.10; Mon, 16 Jul 2018 06:36:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=b7AtPHHn; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S1728945AbeGPOA4 (ORCPT + 99 others); Mon, 16 Jul 2018 10:00:56 -0400 Received: from mail-lf0-f67.google.com ([209.85.215.67]:33510 "EHLO mail-lf0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727250AbeGPOA4 (ORCPT ); Mon, 16 Jul 2018 10:00:56 -0400 Received: by mail-lf0-f67.google.com with SMTP id u14-v6so32262920lfu.0 for ; Mon, 16 Jul 2018 06:33:27 -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; bh=Ix+yxRd1GRySziQI95ggQSolzs26/X4BBwZ7n6ggkqI=; b=b7AtPHHnqoN/2MvAJGc6aoUdvnRV0FyssAiCvHKQL1w4G8YwDSbWnM2VxRUJON4/ep OSJvM7ISTscDJmp0s4BRhUnjfgSWccUoCgWyAxItZB0CHB6NyYy6plISIsCwJASrzjmc /bGlDa64NmdMe7Z1q2Hnn5jFQz1meOM6hw3pY= 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; bh=Ix+yxRd1GRySziQI95ggQSolzs26/X4BBwZ7n6ggkqI=; b=A6JTkbwDFt2oHpPhwYwcd6turkBfWGJH/Z+OoAwVkq1HTS2sk9Y4susBt80nHsI10x 6yXfLqkanSNz0Xes00AS2s/Q+nTMqT+kOxqyKd45qGChpD448EuqSrscQbD9WrHNQNeR licRIZwPVDEDF9oUkA5UbqhXHjGN96tNs4L+8KH0vEdG7FhUfVaPLXy5QFLzceZL78bf r5xY1TLBZMBu1EfjGCrFj6ER3qcl5ydoOq3wnbTCJHkOaEv+KXcNyIbAGvAnEEbXWLjT cA0c+VCHNvIDPGN4990cvWmF2a+SC1wKzBLrB7r709VPAvLPOf/JTU+dug6AHWFpCIqz K0JA== X-Gm-Message-State: AOUpUlFjafb7xgEvUnk351JzCdGWrS0phmBkDdZOPwnHR/tgYE0E+JCf HW2lK6xTuya853VYjAAfDZY2lA== X-Received: by 2002:a19:385a:: with SMTP id d26-v6mr12121389lfj.47.1531748006344; Mon, 16 Jul 2018 06:33:26 -0700 (PDT) Received: from centauri.lan (h-229-118.A785.priv.bahnhof.se. [5.150.229.118]) by smtp.gmail.com with ESMTPSA id x3-v6sm4915998ljb.25.2018.07.16.06.33.25 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 16 Jul 2018 06:33:25 -0700 (PDT) From: Niklas Cassel To: broonie@kernel.org, Liam Girdwood Cc: linux-arm-msm@vger.kernel.org, johan@kernel.org, Niklas Cassel , linux-kernel@vger.kernel.org Subject: [PATCH v2 3/4] regulator: qcom_spmi: Do not initialise static to NULL Date: Mon, 16 Jul 2018 15:32:53 +0200 Message-Id: <20180716133255.1506-4-niklas.cassel@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180716133255.1506-1-niklas.cassel@linaro.org> References: <20180716133255.1506-1-niklas.cassel@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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.17.1