From patchwork Mon Jul 16 13:32:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Niklas Cassel X-Patchwork-Id: 142022 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2433130ljj; Mon, 16 Jul 2018 06:33:14 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcl1jofb+iX6uPghvykK7k/n3QIVBSX4xAepiVFih5dZyaQOdO5NIwvMDdOFAHLqAx/Uafp X-Received: by 2002:a63:1811:: with SMTP id y17-v6mr15393261pgl.356.1531747994233; Mon, 16 Jul 2018 06:33:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531747994; cv=none; d=google.com; s=arc-20160816; b=CSbqOShCsJjhcDuc1er22pHDVmkfOBW5hyk7CY4iVjRIbhSVUu5h+L3TpfvNKw3EKu npitWStuMLfIIqKDM3D1ABDz/F9e9k0dqIcOp8GC5ywqRUbZxPkYejscRb9eV3hHDTnQ yMzu5qdHgMOKPpjpj/di4QQcdfb5S8CUUe1tZGqICN2q8P0XZ4uO20qpwdlXzhU8ohg9 h0nT1WC0+Q40KY8q4jpKig9w7XstJEhFyqkQRKoqehwvdTsPFA5BjF8kMlvxK/bTrEyG SPbbRKcSG753088R8A3ynzuJvPxfcdwZ9eQTlCv8+ym4Rj8a9KJuSYMZMnOZ6yysY4Gu FA6Q== 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=KT3Y7P/CKN2vI8I8KIBtcx7uSNuZG+LX2uD52Etc+vk=; b=0RObJxA47s1+b6cp30S9ytu27VJo7bZGwyP/wz6Vxitv2/izVvu/2GS/W9MMXvu/ai LWoXK5y/q2+WpqTvc1HdI6pvVgJ3ELz91uKbkrMimdFiwiZ6q5N7hzAhduTKSytgBeZH NeSmIltcp/B9r4EZX8kFoE09uyHjmjaGjh/qx1RseAUH6xNGG1R8CXQm1WZoLMCrgj8D soExJZS4KnmJN6mten7GuZNSjI+Q/zeFVSuKO1efqR/CuaZYxde6AFMr81bJFerpUgEc BtkIUmAfm5Ohfv1KiEZr5o6w5/jwnJkj8V0AIqWsqy80+KyvfYld8Zw6Ze5mZVJzMXcy 9EFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=VM4ZEEep; 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 x186-v6si30610395pgd.259.2018.07.16.06.33.14; Mon, 16 Jul 2018 06:33:14 -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=VM4ZEEep; 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 S1727332AbeGPOAk (ORCPT + 13 others); Mon, 16 Jul 2018 10:00:40 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:35759 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727514AbeGPOAk (ORCPT ); Mon, 16 Jul 2018 10:00:40 -0400 Received: by mail-lj1-f194.google.com with SMTP id p10-v6so24548975ljg.2 for ; Mon, 16 Jul 2018 06:33:11 -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=dwR2q+9R0Xn4F9WJrQYTuFQ7eo4wf2FGRuz3XTsXO5E=; b=VM4ZEEepBQdpvDkIYJyrX+AcUPwTplq3DYEGWYBEysIBrbVAFY1rEFiLgPK/L3f2+u ahPKw6l/5cLtn7Cp7z1gMybsjgifdaOm6lP117X4rFyvGjqjJEK6kAL0pBCvcJp7ICpk 9Y3lQw6uaMAAZWTXTMqNhPpqSU7K30hmSxQvE= 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=dwR2q+9R0Xn4F9WJrQYTuFQ7eo4wf2FGRuz3XTsXO5E=; b=YoXOyPx5I+ETQ9Kmh/lqOA8TwXQkY7aY16ON7CyNMVIoLfqwLUPpw+EnmcxJnEFumv dh7wZr21ySA4NZCWPBkOvcUr9PUt7QTYX3zlwS/kbUEaK+GGSJuEArYkEXGyPrjyjFBB jgUkwS/1sqYyQnoTVuLv4KDUDqBoYUDpquAAvL6iFfHHoUs3BvoX1e488uJ+J04pV+xa 4ceyDnHzwshRi0RfoZ1bfKWN5opLOqb1v7XVz20JgS3aqBICjmNG8tzdWjIJUFtMOo2O lA+priXvrSQDuFDLWUyhFGM40QZfM8Ls9XY3tvizHOZY7b6y+CEnlHpn0MOV1VVmFmW3 BIhw== X-Gm-Message-State: AOUpUlGiIG9GOhDXRtAQJChswpsxKr7+zMEFtdCgaIMt61DBAn2EpTsi I8wDyMbe3OVrP9NV13BGg2RYNA== X-Received: by 2002:a2e:869a:: with SMTP id l26-v6mr5770782lji.48.1531747990542; Mon, 16 Jul 2018 06:33:10 -0700 (PDT) Received: from centauri.lan (h-229-118.A785.priv.bahnhof.se. [5.150.229.118]) by smtp.gmail.com with ESMTPSA id a14-v6sm3820390ljb.49.2018.07.16.06.33.09 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 16 Jul 2018 06:33:10 -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 2/4] regulator: qcom_spmi: Use correct regmap when checking for error Date: Mon, 16 Jul 2018 15:32:52 +0200 Message-Id: <20180716133255.1506-3-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 Since we have just assigned saw_regmap, and since the error message refers to saw_regmap, it feels safe to assume that it is saw_regmap, and not regmap, that should be checked for errors. 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 4cc14c65d86b..ba3d5e63ada6 100644 --- a/drivers/regulator/qcom_spmi-regulator.c +++ b/drivers/regulator/qcom_spmi-regulator.c @@ -1775,7 +1775,7 @@ static int qcom_spmi_regulator_probe(struct platform_device *pdev) syscon = of_parse_phandle(node, "qcom,saw-reg", 0); saw_regmap = syscon_node_to_regmap(syscon); of_node_put(syscon); - if (IS_ERR(regmap)) + if (IS_ERR(saw_regmap)) dev_err(dev, "ERROR reading SAW regmap\n"); } 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) { From patchwork Mon Jul 16 13:32:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Niklas Cassel X-Patchwork-Id: 142025 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2433479ljj; Mon, 16 Jul 2018 06:33:32 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeWaPW6uizyyJ348055KHupWSsupeMrlg2FVOfOMlOG9HlsPtyaxYFoiJbH5jtVTtIMZDYo X-Received: by 2002:a17:902:68:: with SMTP id 95-v6mr16626403pla.178.1531748011905; Mon, 16 Jul 2018 06:33:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531748011; cv=none; d=google.com; s=arc-20160816; b=Xd6vCQxiqJTXY5VJOVe+ng7eX+pL7mczmJCwripipNOx1lu7qiPRsLOKchBMfJYEYp A42iIGBF/LwplOd7et1I3uWUatClgS+OAg/jCYnbf2yuL+08ytx283C5OIibCkoRdK+q EciZt6WvP/2UWDRv7Q7dZYVkaLZ779O6sDpZiy5zgNan2wRIkVllj+tkL+3gz9yc7o/F XaohpOAVe1iiVQciw2QFWebDQ9w7CnwLgima/iBAgKQ3PKS743HK9+hiI4SOPAzse68T VJdCv/r25Yh52VyHl2/Ns3545xGoaoS7/fAoIELrYacOs3P1TYJqPB9VHFTh2qsYCjgO dOSg== 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=CDNfMMpMcH48s+g5bN6LrwBUa1BmlfqxhkPW7ss7BFU=; b=kKQj3MgM68pFJeqt62jDknMBijSNOEujHiCdg6u4EqJK7UPcKDH8sr4yCoPH8znCYW KOfyOIwsgu7/HOD4PbiMnp4aqKpYhu+13cbhIs9SrHT/NJBErTIReeTHiRBrEl567yrR aKKst5WspIJI2oWQ77xDkYbkRgcNnHTMz866YyKliEf2ROaEI8aW/tVdu4GDnU69TdXR KonDNNPwxQDWMCXye29P2jsSTiGYGiomgjYQflpW55tTs/YCl7joudR1yCzujVcm5O/Q Ayv8ljeBchRkCRP0GNHbD7XblVvcCJcyvG2wGtQJOqcAei9+FcTepWJjiG7Fm8eS432G sNHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=KivylH9w; 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 l26-v6si25217644pfj.188.2018.07.16.06.33.31; Mon, 16 Jul 2018 06:33:31 -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=KivylH9w; 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 S1727250AbeGPOA5 (ORCPT + 13 others); Mon, 16 Jul 2018 10:00:57 -0400 Received: from mail-lf0-f65.google.com ([209.85.215.65]:38359 "EHLO mail-lf0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727672AbeGPOA5 (ORCPT ); Mon, 16 Jul 2018 10:00:57 -0400 Received: by mail-lf0-f65.google.com with SMTP id a4-v6so32252013lff.5 for ; Mon, 16 Jul 2018 06:33:28 -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=gNY/u5IfBn+WPrF9/q8QV4Fv05wKjSYEjbXLAtlmLPI=; b=KivylH9w7gQDgAsfV3EiG1hsYD9DSP7nI6erenVxzw5y1VwamUQK0gWnhnioubePMr 4RuqtxgJciaEfG0OKXFDBjTTOQfxrrZRyUjHn3HASOB918O2qn+lm2qUyG01UFVWccu+ K6retx8lpTvy/0XhVH8r8iCaLj5TTy0aVG9VI= 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=gNY/u5IfBn+WPrF9/q8QV4Fv05wKjSYEjbXLAtlmLPI=; b=GJh7Fw5hBo0Qu6N0MSeHHo028Z5+x/wv+lwEqC7NT2kGg7CotqWik+kKufw/9DJGKF UAMunvKuZBbIyT09oli4UnH3JkCZjXcWgsH3rIY5D7c5TRZdR8+WSUcBrPWCbcoWlnZW hqlBrNZP2KT/ImmtHeypjYt3RO9r5VWstaSF0zwl1Y5mT5AWp3RImUoz5ZJsSYHCdTmP FYXzyvzbH+wfz4oXoszyOT8ju5pkLo7cUaegNO14O9fjGQU/A9+DS6VtsdsRfBBMQj2/ kriasGcPl4q9GPt1yCur3Ck+elI+hmYqEWK0uovzrQ9/tfc+TdhzJC/1jwARYjGNulqr xFGw== X-Gm-Message-State: AOUpUlFvUGiyGvdrxUEWTthEFgNfml56A7lQr0fA2mkGhNQ44rRb8oa2 Bi6bJuqUyFV8UgnbZO/BM8Cr8Q== X-Received: by 2002:a19:e803:: with SMTP id f3-v6mr12402555lfh.84.1531748007457; Mon, 16 Jul 2018 06:33:27 -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.26 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 16 Jul 2018 06:33:27 -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 4/4] regulator: qcom_spmi: Indent with tabs instead of spaces Date: Mon, 16 Jul 2018 15:32:54 +0200 Message-Id: <20180716133255.1506-5-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: code indent should use tabs where possible + { }$ Fixes: ca5cd8c9400c ("regulator: qcom_spmi: Add support for pmi8994") 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 5246f5b870c2..53a61fb65642 100644 --- a/drivers/regulator/qcom_spmi-regulator.c +++ b/drivers/regulator/qcom_spmi-regulator.c @@ -1728,7 +1728,7 @@ static const struct spmi_regulator_data pmi8994_regulators[] = { { "s2", 0x1700, "vdd_s2", }, { "s3", 0x1a00, "vdd_s3", }, { "l1", 0x4000, "vdd_l1", }, - { } + { } }; static const struct of_device_id qcom_spmi_regulator_match[] = {