Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp3476715pxu; Sun, 11 Oct 2020 11:04:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzqJDi5ZTmKAtHP54zoFmx5IbiKmwitxlq+HgMrh7QD9IXi0nZK6N52nrwdQpvTag4xbBG2 X-Received: by 2002:a17:906:486:: with SMTP id f6mr24135905eja.473.1602439465005; Sun, 11 Oct 2020 11:04:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602439464; cv=none; d=google.com; s=arc-20160816; b=zoPVDsYE7l0vMiq79Jevy7p3UnYFSaVcPwmnuYVmkLXQKHjhZdvjjqorK99yKJLwoI uo8iS0Np/IOvFZ9WUiWmI6QGsfU0fn9oBoQuBtAdxpcsGrpMz1V8Thog1MsBbo8fPqDi vFxDw/WnfrUo1XgEROdvICxFfIKrEzs4xs5MO1Uemz2EFfEvnrGPdSU/DBPAeDvBq/K8 yaPvx6Ys937DXyceQb5JVqv+jcLbsMaZlv1KsvEgiAbhNtBLvXNX+tjA/9oRjU3nPJOK OrFXX8r1ITeqLW4LTYUDE2WsvLIvJdr3VEBYK8E+/H0ARaCRIBnWRUBs2D2W3/q6pzvM jv/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=wzO0jQWtwwsIEZBKTlMyKu2W55P8K3Ww1bYqRLjAfxQ=; b=q6vZP0I6P/v2EQ0DvVJ5gYcgLtC9iDuaE7ew07a3ct/bD+QDhfjla6niYHsYm9tljY J54ulPQXIHYnI+UzrRsrJqH8oX9GxPYq1bypHyUisXBqfFytYmt8SLcMzGmnAn+j9Kr4 sOLh2GF//xbwkKGSXdRyJcb55zSQw8YJcjxXgH0c9STVXteqEmaQ4GqE3Jpon3xQphgq Pquhzmr0N4rtRaEMdHoLL/BwFR3mKF3ShMXwmtU1WjEUJ2JEGVRoYSrFzjNGYK0PLmLw kNLhSckihvxUdTwLC9OPconWD9CvPG8H5ZP1My+mGqUjaJ9k/YHq1/taWTatAMT0yOcw 3n8Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c27si11038970ejd.125.2020.10.11.11.04.02; Sun, 11 Oct 2020 11:04:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387567AbgJKKCs (ORCPT + 99 others); Sun, 11 Oct 2020 06:02:48 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:27418 "EHLO mail2-relais-roc.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387515AbgJKKCp (ORCPT ); Sun, 11 Oct 2020 06:02:45 -0400 X-IronPort-AV: E=Sophos;i="5.77,362,1596492000"; d="scan'208";a="471981618" Received: from palace.rsr.lip6.fr (HELO palace.lip6.fr) ([132.227.105.202]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/AES256-SHA256; 11 Oct 2020 12:02:41 +0200 From: Julia Lawall To: Liam Girdwood Cc: =?UTF-8?q?Valdis=20Kl=C4=93tnieks?= , Joe Perches , Thomas Gleixner , kernel-janitors@vger.kernel.org, Mark Brown , Jaroslav Kysela , Takashi Iwai , patches@opensource.cirrus.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/8] ASoC: wm8350: use semicolons rather than commas to separate statements Date: Sun, 11 Oct 2020 11:19:32 +0200 Message-Id: <1602407979-29038-2-git-send-email-Julia.Lawall@inria.fr> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1602407979-29038-1-git-send-email-Julia.Lawall@inria.fr> References: <1602407979-29038-1-git-send-email-Julia.Lawall@inria.fr> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Replace commas with semicolons. What is done is essentially described by the following Coccinelle semantic patch (http://coccinelle.lip6.fr/): // @@ expression e1,e2; @@ e1 -, +; e2 ... when any // Signed-off-by: Julia Lawall --- sound/soc/codecs/wm8350.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sound/soc/codecs/wm8350.c b/sound/soc/codecs/wm8350.c index a6aa212fa0c8..15d42ce3b21d 100644 --- a/sound/soc/codecs/wm8350.c +++ b/sound/soc/codecs/wm8350.c @@ -218,7 +218,8 @@ static void wm8350_pga_work(struct work_struct *work) /* PGA volumes have 6 bits of resolution to ramp */ for (i = 0; i <= 63; i++) { - out1_complete = 1, out2_complete = 1; + out1_complete = 1; + out2_complete = 1; if (out1->ramp != WM8350_RAMP_NONE) out1_complete = wm8350_out1_ramp_step(wm8350_data); if (out2->ramp != WM8350_RAMP_NONE)