From patchwork Mon Jul 16 13:32:53 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Niklas Cassel X-Patchwork-Id: 142024 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2433431ljj; Mon, 16 Jul 2018 06:33:29 -0700 (PDT) X-Google-Smtp-Source: AAOMgpebOo3UgG/LMkfABTG/jt2SUaf8zbmIbZmQSajeGbB4XTwGjQIlS/1wnKeYcHLhDwFL5F5k X-Received: by 2002:a62:4255:: with SMTP id p82-v6mr18228824pfa.238.1531748009307; Mon, 16 Jul 2018 06:33:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531748009; cv=none; d=google.com; s=arc-20160816; b=chBQjN6DwPaeGkRq5q7cXTCNykVoD/WwsugPqGOZjf3udcsQO4pzXeM5NLbA/zjw8Q oBLPWA7Cc0dDldAU6YY72Dq0m0Xpmg4ThRVhoZeTRv8IL4lTHuFpOFdkhVvq7gldUc1R 92i+KGmzJJ3KacEpPxP+MCzi9GsU/oN/pBKE9zUhWcygVa2viTtodoO/UQo39iq7ym4a tOGaOankYQeibuDvUQTPV7D1AzagGKnGwum32g+G67XY2S0RzHTZ60XcYEA7RnQYB7vS BKhFa4lXPDvRf+iU/0Kshq7PuMx4DudXKZpEVDb8GkyO80Obl/hHKVzj+0EGJKI4bjX2 aTqA== 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=QIg+g5jkakH9rnMqXxHKKgMUtCxqpv4fxWjLK/0w9dk=; b=wY2ShQ/kKVCnivtQ+9tTbMmrKIgc0DXB54vIGUgGPlG0XtbxpbN4nFauU8arfGSgre WY49mLZ87sN2fbK1oXVPAJgdmwwup0/atclK8o+8xR+DNmVQZ7Kiz5ZO/N37ntIc0kg/ kHD6IoEO4xt1+uL2+YMzOW+ATapWAv0UinronX/wsKdxXZqiHKcv2A97VeiHk4EPIkyC 7fjuQK91pUUNP9TNvQ2Se89c16WaHt2qPVdaKSqiQAIaCOYluq2VCXO2BivC4QNeKsqx tIRKsoP32Lecp1lkPxL8mJdysaMRG/MV2TpQvAxb/4pSSYp1zuy1wE5XeSHs2X1GO5om 6bfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=b7AtPHHn; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (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 v129-v6si33564529pfc.330.2018.07.16.06.33.29; Mon, 16 Jul 2018 06:33:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=b7AtPHHn; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727265AbeGPOA4 (ORCPT + 13 others); Mon, 16 Jul 2018 10:00:56 -0400 Received: from mail-lf0-f68.google.com ([209.85.215.68]:47071 "EHLO mail-lf0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727246AbeGPOA4 (ORCPT ); Mon, 16 Jul 2018 10:00:56 -0400 Received: by mail-lf0-f68.google.com with SMTP id l16-v6so32250064lfc.13 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=g3Y6VIIAQBDZCXFhnBpuRGjYyvZyVBB5Hp0yLSOaqbbylAUI0XWOLJK18t50MLgPNL KDS19TBc3fHbBAc7s+kGyniSSnU7ZOhw4j5wZANhA8Dbr72+zQflW7VaT02wyyH21MRm AjbVRraes4NT9o370t+SLcs3Wsjn2zg7LUvHk0VadJ2sCQA+tzCgpReqPmLhzSEOg/vb xvj1jEa126MzrDHc0sMDSaTr7atQzfF6GO1NcI3UEGtlXCwrRVk2yfgpTlgA/HBFWgZN jkqOfY8WZsut9J2vGkpypNKNl1scLGZaoCCelvMcDnfMfmSk80g7NRXGfJ45wGaiQxb4 jHUA== X-Gm-Message-State: AOUpUlH5uOSk/eVZwyrAUKo0VGUOceHKiP3INZhfaiwjtRnB3dHKzxyC mbK/bOSWT6iKKO/Dl6KKWbKnBg== 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-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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(-) -- 2.17.1 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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) {