Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1506282ybh; Thu, 16 Jul 2020 14:15:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzAP2FdaS/laa1+IYYys8BhfIVv+Ui3vmRL5PUER0tv3ovkCg5VTq5PZpQtzdSPuDggZWJz X-Received: by 2002:a05:6402:b1a:: with SMTP id bm26mr6120730edb.144.1594934139494; Thu, 16 Jul 2020 14:15:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594934139; cv=none; d=google.com; s=arc-20160816; b=OeFFxV6drDU+e9MCuFuUrx69Nndl09KA7KOp1o2c0KOyi5E8pvZ4LqeFEIPOQ3SHA2 yN2+UYXKqb78fHYtxAJHuv8ImgZnv9mxF97uBQe9gRSzbb/f9FZzoJ/AThqbJCoOzJvN m2+ZIiJe2eU6ZnTIBytc1MUaVLUzpGWYNpw9Dtb65ZUPak5SDDjjgwof5IMK/t5TJIWb dS1f6rRa9ueTtgZOdVmY31eWlB+E4THlkOKhr0quRildv/mclqsrS5SLIhCIan4NB9I5 6IZGQpK6bhCRYhrVusa0WfadaNnP6eMozqGuINFHkHNVZSaMiOeyM66+N6vQWBqEpxd1 3F5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date:dkim-signature; bh=3yjGG15KaWDHpqpOMB+S1+TdjDJevtRWvLOSTqOEbUQ=; b=aI73kjPWpjRyfA67A/77oC75CBDBuXv6fw5J8JEWW47TmWdPIOetIsslTKeDw0pHdb 8GKfcyyV9xL0zJVxaDFqHxTWsI8h9nlB86eUofoANjSgaDPBMPp6JupQGcbaja0/PPVK ccRtAAIv3gXikXVY9c/YMOBV7EfXtLEV83fAHHvA8162eKScBJD2CTNFFRJe2B16wh38 cW7r0UtAHV9d7inW3k0zrnm6RcSiqxYZpgLCx1BDWlwNq2JGjDpLFAR8cbbPt+g5jlEy Tdti2dmtvCMM/fHD+2ox8a4PsH3K5a93i40ysMRsIszb0Ctz0HuRYeCq8/CUR4vtaF4t Ukgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=tpxK0XQj; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id mj26si4001228ejb.416.2020.07.16.14.15.16; Thu, 16 Jul 2020 14:15:39 -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; dkim=pass header.i=@kernel.org header.s=default header.b=tpxK0XQj; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726928AbgGPVNz (ORCPT + 99 others); Thu, 16 Jul 2020 17:13:55 -0400 Received: from mail.kernel.org ([198.145.29.99]:53368 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726256AbgGPVNy (ORCPT ); Thu, 16 Jul 2020 17:13:54 -0400 Received: from embeddedor (unknown [201.162.240.161]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E06DE20760; Thu, 16 Jul 2020 21:13:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1594934034; bh=W/rnCJweoSroLPFc4qIJiZovV2xgzWULfomtSZCzpLY=; h=Date:From:To:Cc:Subject:From; b=tpxK0XQjI40X994VvpKDI8qWdJfXDo+L2E9a7aHlksE0YnI51yxxDzJCZG4hmE6kX dYBojpDBIKG/JEQXPfTcmfDA5XgsmfRKz7cHfErnCZMhgbwlAYpc2HHAWREiqKyoKQ d2ePqrl7hDE49IdUS0/LlOm1k7L0WWTDI7PGAIm8= Date: Thu, 16 Jul 2020 16:19:19 -0500 From: "Gustavo A. R. Silva" To: Mika Westerberg , Andy Shevchenko , Linus Walleij Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, "Gustavo A. R. Silva" Subject: [PATCH][next] pinctrl: baytrail: Use fallthrough pseudo-keyword Message-ID: <20200716211919.GA17378@embeddedor> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Replace the existing /* fall through */ comments and its variants with the new pseudo-keyword macro fallthrough[1]. [1] https://www.kernel.org/doc/html/latest/process/deprecated.html?highlight=fallthrough#implicit-switch-case-fall-through Signed-off-by: Gustavo A. R. Silva --- drivers/pinctrl/intel/pinctrl-baytrail.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/pinctrl/intel/pinctrl-baytrail.c b/drivers/pinctrl/intel/pinctrl-baytrail.c index a917a2df520e..d6e35cba3065 100644 --- a/drivers/pinctrl/intel/pinctrl-baytrail.c +++ b/drivers/pinctrl/intel/pinctrl-baytrail.c @@ -1372,13 +1372,13 @@ static void byt_irq_unmask(struct irq_data *d) switch (irqd_get_trigger_type(d)) { case IRQ_TYPE_LEVEL_HIGH: value |= BYT_TRIG_LVL; - /* fall through */ + fallthrough; case IRQ_TYPE_EDGE_RISING: value |= BYT_TRIG_POS; break; case IRQ_TYPE_LEVEL_LOW: value |= BYT_TRIG_LVL; - /* fall through */ + fallthrough; case IRQ_TYPE_EDGE_FALLING: value |= BYT_TRIG_NEG; break; -- 2.27.0