From patchwork Thu Sep 16 11:19:35 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 512922 Delivered-To: patch@linaro.org Received: by 2002:a17:906:f46:0:0:0:0 with SMTP id h6csp1057082ejj; Thu, 16 Sep 2021 04:19:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyUWzofU02gVdczhVZo6sGHp1+PGapqsWNtjcqcFn222bnyWhO2sVZcJPO+1dSGw61e0esP X-Received: by 2002:a5e:8349:: with SMTP id y9mr3834514iom.34.1631791189962; Thu, 16 Sep 2021 04:19:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631791189; cv=none; d=google.com; s=arc-20160816; b=Kt+G8x7rXGaCqI31u6jDTKH9yNPm04shUKplNuyzAUZpBlX/SS1PYtdGgOCkX3nfVF qPdJjGCkpJYnSJzsSDW3600a7sj8wObATwQROkK8W2VvgXXy6yfJPcz7k5kKLDtsdCl1 KTolLMhZU2X7/2dYASQMmMw4QXLglbVWn+xLbPaWtJIOl5ziZ0Q2S38T0x/HCkbyPgsQ HE+uKE4y8lXXE4auiO42a9vnneDcLCX9Zlr/K5EuxYOtzTP6YpRb5kOQ8AcrPvg3fhD9 M/6EejnxB1RjXyU9cuACu7CvWF1mn7I/Epfgmts/QE8jfyC74pXDXW7xwc6TivQJe5UM zcZw== 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=yeeNQyPhdhgxT+fMbmZ7/ysufjKkJyN6F37GnY1eL10=; b=E5LBwgFADid4L/C1SGzkmj8WL1UJ/Sxb6HfcTg8C2LAwVuV5Edmyz02hqPosipadYi qOf0krvLd42N12tXGTZ/kVcCVC7mYvz2oMLkeBOF8RHHk97FM+3jYzhr9qEutvGxsJ5m tnpZxmVsZxymINkx9NbQOQjgVq7c5B4Kq65lJsUDLddpwVVBCz5wDnIHDKE4Di9g5oN5 88ogDbHRjyYF1h9rk9l727mZ6hLA27pGc2dFjqa4xSe8Yd4iZ/a340mHM79xErAt1qIf BEiL/z8iI1UgWSpjG9QiI6vp1dE/jyDPuyBw7phm7cLzSVS5Q406TjH5HL4HVnUXPc9D 0zrw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-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 h17si2498741ilq.30.2021.09.16.04.19.49; Thu, 16 Sep 2021 04:19:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-gpio-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-gpio-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237588AbhIPLVJ (ORCPT + 3 others); Thu, 16 Sep 2021 07:21:09 -0400 Received: from mx.socionext.com ([202.248.49.38]:27922 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237064AbhIPLVI (ORCPT ); Thu, 16 Sep 2021 07:21:08 -0400 Received: from unknown (HELO kinkan2-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 16 Sep 2021 20:19:47 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by kinkan2-ex.css.socionext.com (Postfix) with ESMTP id C24852059034; Thu, 16 Sep 2021 20:19:47 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Thu, 16 Sep 2021 20:19:47 +0900 Received: from plum.e01.socionext.com (unknown [10.212.243.119]) by kinkan2.css.socionext.com (Postfix) with ESMTP id 847F0AB192; Thu, 16 Sep 2021 20:19:47 +0900 (JST) From: Kunihiko Hayashi To: Linus Walleij , Bartosz Golaszewski , Masami Hiramatsu Cc: linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Kunihiko Hayashi Subject: [PATCH 1/3] gpio: uniphier: Fix void functions to remove return value Date: Thu, 16 Sep 2021 20:19:35 +0900 Message-Id: <1631791177-27229-2-git-send-email-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1631791177-27229-1-git-send-email-hayashi.kunihiko@socionext.com> References: <1631791177-27229-1-git-send-email-hayashi.kunihiko@socionext.com> Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org The return type of irq_chip.irq_mask() and irq_chip.irq_unmask() should be void. Fixes: dbe776c2ca54 ("gpio: uniphier: add UniPhier GPIO controller driver") Signed-off-by: Kunihiko Hayashi --- drivers/gpio/gpio-uniphier.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.7.4 diff --git a/drivers/gpio/gpio-uniphier.c b/drivers/gpio/gpio-uniphier.c index f99f3c1..39dca14 100644 --- a/drivers/gpio/gpio-uniphier.c +++ b/drivers/gpio/gpio-uniphier.c @@ -184,7 +184,7 @@ static void uniphier_gpio_irq_mask(struct irq_data *data) uniphier_gpio_reg_update(priv, UNIPHIER_GPIO_IRQ_EN, mask, 0); - return irq_chip_mask_parent(data); + irq_chip_mask_parent(data); } static void uniphier_gpio_irq_unmask(struct irq_data *data) @@ -194,7 +194,7 @@ static void uniphier_gpio_irq_unmask(struct irq_data *data) uniphier_gpio_reg_update(priv, UNIPHIER_GPIO_IRQ_EN, mask, mask); - return irq_chip_unmask_parent(data); + irq_chip_unmask_parent(data); } static int uniphier_gpio_irq_set_type(struct irq_data *data, unsigned int type)