From patchwork Mon Jul 16 11:35:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Niklas Cassel X-Patchwork-Id: 142012 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2311665ljj; Mon, 16 Jul 2018 04:37:02 -0700 (PDT) X-Google-Smtp-Source: AAOMgpctNMLiyzZPuqymAdalwsYCSxkhD9DsOVWdzseqKLinDXPBh07B69lmXr15/g13aZOHNsEL X-Received: by 2002:a17:902:760d:: with SMTP id k13-v6mr16086544pll.56.1531741022447; Mon, 16 Jul 2018 04:37:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531741022; cv=none; d=google.com; s=arc-20160816; b=sPpj7K1Yrxcys18Mps7HvomnfNVszYkLG5STHiwyNEniDNKfb4JlacPHUKHaFPTOgg frNaYKxxGsXV5F02dfofZmri4N3f2UrLjMbCKCHpuY/WBHFn75ihQiS2m0jbd4DUWkGt udreR3AUQE4/wAaBj2t0r5e4nE1wMowsT9V4zbRVSYndjavg1Yvsfl+2whk8Rf8xTNuC KHZIdx6I3pv0o7q2L6454Pn6RFInVt7B5kRp1k+oQ7kY2CNGSxLV6S66vfbSaO4lPP1M LoS5tVXHGJ+hENi8Gz68wiNdblHNDGRiYIxrqjlMtp+j6Ji4LDgGp39UfOFfy3HzxnUF 1+4A== 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=qWsikhES0imev1VjBHU/WlP0UCk0Wth9ADgf6ImZE/A=; b=LWUABUTmtUKWwv2RYIcobGTc1WRze/IsG/9zyXfiMx9TssRAbt8LOGHMLnmykscrOs Ut/zkSlkAFTAkILpL5BXumrjMUX9Nz8zl6jWSEtsnz+IX+3k3DttATL6kkJPN1XDVpWX 8/h9wKuc+FToTiBh3LDdEKPDi8WDEkurdI4FmLUtngppc3G8aoHUMptkzFrblTWzeAns LQvdWw7e7pX6aOKIOO1Ieo2Y3k1l2rvYAC6Aou1HlYZFhanMI8A2PMR4/apXCqKsH5IF hmloAYEbJf2Vzd9Blh8G4Iq4Ht51cdQErRdGetp3GTYScdnhGtkWg/o4EX42bN8BoEuM C7vw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=M2fwxdNs; 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 c6-v6si29801757pgn.143.2018.07.16.04.37.02; Mon, 16 Jul 2018 04:37:02 -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=M2fwxdNs; 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 S1731341AbeGPMEC (ORCPT + 13 others); Mon, 16 Jul 2018 08:04:02 -0400 Received: from mail-lf0-f65.google.com ([209.85.215.65]:45742 "EHLO mail-lf0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729601AbeGPMEC (ORCPT ); Mon, 16 Jul 2018 08:04:02 -0400 Received: by mail-lf0-f65.google.com with SMTP id m13-v6so31991258lfb.12 for ; Mon, 16 Jul 2018 04:37:00 -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=8GW41+1i64qN88n/wuBAX0eAF5S8bxJ67TqW/BHxXAQ=; b=M2fwxdNs+WMJ4J66f4jzuDP9cDG5YYYtvt2lEJr/fi1z1KAzD7doqE0T725JINW/Qb grZHWI/OCetLbyxwnt8ibnYs7jmwVQUVvGXShkeyIX1tsi/CaWtHk3qqglXc+XCEvEgP iNpYFPIepX94Ueg2Z8srbtAchQ4nEk5SqNnVk= 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=8GW41+1i64qN88n/wuBAX0eAF5S8bxJ67TqW/BHxXAQ=; b=Ta+4aHcfTQsqvVM3axH1NS1rOv6Ff4ux+PyTE0WAcfH61boJqRegPR3ljslog2aea3 ZVD3I1So39K9Am1GZFfCtJNgUe6J+QWdbfnACZvsU322k3QmCk3FmVQjabnrPRRALisc QTgCSIFEZ50pP5k7vGFZ1qNvXVVxuDxC+z78MTsNrZWgkz9Hj+UZV094N1I/ET0KpA95 WUsnFxLrANaUWGDAkhLkbRwCDx+4pvM+Aql2pfTvVBKfX19NuFh6QyUyzNpcfiiW0JLL vPQjovTUnvswCLbVsJOEpNeFF2CRQi7M3GwZ4VXbSodEXp236MBHDcDVqvap+ILfSCn8 DllA== X-Gm-Message-State: AOUpUlGKFUUEpEvbCVTnRsKx4fIwjlO0HHEvCA0J0fsMVaw9wlOQV/PP bxapD/mSNE5tMY0THZSDyGOeCw== X-Received: by 2002:a19:910a:: with SMTP id t10-v6mr10874234lfd.24.1531741019633; Mon, 16 Jul 2018 04:36:59 -0700 (PDT) Received: from centauri.lan (h-229-118.A785.priv.bahnhof.se. [5.150.229.118]) by smtp.gmail.com with ESMTPSA id g11-v6sm2375691ljk.45.2018.07.16.04.36.58 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 16 Jul 2018 04:36:59 -0700 (PDT) From: Niklas Cassel To: broonie@kernel.org, Liam Girdwood Cc: linux-arm-msm@vger.kernel.org, Niklas Cassel , linux-kernel@vger.kernel.org Subject: [PATCH 3/4] regulator: qcom_spmi: Do not initialise static to NULL Date: Mon, 16 Jul 2018 13:35:24 +0200 Message-Id: <20180716113525.9335-4-niklas.cassel@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180716113525.9335-1-niklas.cassel@linaro.org> References: <20180716113525.9335-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 054c0245aec1..dbe6ecc34859 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) {