Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2227514imm; Mon, 16 Jul 2018 04:39:00 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcYwUqyfi8RpF25jmOv4M5kaF6cz4uDzX1MvqbQV0G17r0OA0brKd1NuoPpRFhxRkfAyytF X-Received: by 2002:a63:1546:: with SMTP id 6-v6mr15358398pgv.271.1531741140886; Mon, 16 Jul 2018 04:39:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531741140; cv=none; d=google.com; s=arc-20160816; b=n2+dU+l+Q7WUbbLHRODR0GgBRlVcnrd6G1Wj5cDtNnH+sjhSqNvwpbwpyrjCMKHTD3 y/njBwOSMNGzyKN7RLyKr5lgQ0QeiM3NrwVrHFWNusWBXBUQ7W5RIowrE++WenPrM54R APNmQJGtwZyJ8x8GGOTesQxvzNki+i5yQfcusjuFhTjz6Qyu64Pgwi0X0U0sJEi3DFWP N0byo6NM28R3+tSi1hUn54K8f5H+sSPIQ456HfBbUqFwVlptzOLdP5ZKai65+D7a9Veg 15dtD1UvhifDf7hVPhsTQZy36fqFD+YryyqXr4eYaI/BLrc+Bj9buDtChQn6Sz+7O8Se JUEw== 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=8GW41+1i64qN88n/wuBAX0eAF5S8bxJ67TqW/BHxXAQ=; b=kHIOtn6iyDwBvhLIDpHt9UBuOw97ACV+gHl5fd2uXUXSx1WX+LGYVdQgRUAxbbkq6X O1K+RUewH9WHkZB7KP+LGRntzbPcNFpnaT5USTabxb5VIQVxkyTFOt8Wyf34wpHb6F5D 3TGV25JHnPiftE5cVRgiUH5OsvjHtY1ILk0LD9rxdawO2UvPNy8IrOKoNKnSjaq7e6zg 6xjTo2VTL9IpmizDMKEYcYZ4c34FHKypFCoPxHmdl9Q2imEemVvXBU+1dOj1yA6Kmn8U SD1N/XwSs5Px1G3wk7PStE00FIKcsFVivb89pUd1HelPNNpo3I5h0U+Jd81Hb5Nith+s Ro3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=M2fwxdNs; 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 a8-v6si4651084pgl.568.2018.07.16.04.38.46; Mon, 16 Jul 2018 04:39:00 -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=M2fwxdNs; 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 S1731412AbeGPMEC (ORCPT + 99 others); Mon, 16 Jul 2018 08:04:02 -0400 Received: from mail-lf0-f67.google.com ([209.85.215.67]:34424 "EHLO mail-lf0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730043AbeGPMEC (ORCPT ); Mon, 16 Jul 2018 08:04:02 -0400 Received: by mail-lf0-f67.google.com with SMTP id n96-v6so31975775lfi.1 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=eaLrVFQtPRSGyMuiCgrfGpD5igyFxKBs4DX4uP9vhicj55snvN5Nc4vrHtDbdUxkvq pCrAEIZmG7m9RyqZDvF/Ai7nGzyTnx8BAj4Is+BG8TVLWD88eeu/UbGuItYT0Dv+nu0h iJIEe3d3YJ1V/4bhYYqlnhWtCdF6KbynS3b4PDXYoi4B7aOMyrfEFFyznn955aJOQwWJ yIFo87Zt9yt4qDwZeItkZNCFAgoUgUeULLrUCSvRp+7c8/hRUuxAGSfk3Fl7Ts4b6GJe 0iUvXWpldLnGYY/0EldG+5ynBq2VjiltsoLJIir9TuAHFL+HyzlvuHbqrm9Vw99JT5ZE ymfQ== X-Gm-Message-State: AOUpUlHufDh1Z9iemBtJv6/Hg+E8MQt+bxtYyogMe1hByShMQJE9zWh9 IZS5LIYs23hqK3O1nqR261sLiw== 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-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 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) { -- 2.17.1