From patchwork Thu Sep 16 11:19:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 512923 Delivered-To: patch@linaro.org Received: by 2002:a17:906:f46:0:0:0:0 with SMTP id h6csp1057092ejj; Thu, 16 Sep 2021 04:19:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzf9GSvaJZbW0KUw9eoLRa9YL67woxR44OnC/9/IBcX6Ez6nTppPhcQ9AGnkWCaffFzNzRk X-Received: by 2002:a05:6638:b10:: with SMTP id a16mr3974079jab.149.1631791190529; Thu, 16 Sep 2021 04:19:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631791190; cv=none; d=google.com; s=arc-20160816; b=OL29qt+SeCdinOSujLDSBYjSTOO2lQOe1rzc9qph8km03PiLzsSNINHy3C5T5GnI3V PjHg+cevBjdU3i4dSIaJlwPmheRP4EOo2k5YUIeJsLo03ZCs/lIg4Gtc/xGWvdFVkrm/ PfzUTnhJ6zLeV4at+L/cC7narjB5NNE2QdVXcl325X/HkkRQcCZcot2HufNoWtBS24gM QG+l+Xnu5oDCmJh2stcdO+avIHCMHihx2eKIYKmq1+2gL5rRRNWjgUrJGzKCuBFaa+Eg KuoBDoWrXpaW+LY3Lj3zbyq02Tyy+blBMafUC2TmCVTSu6mPadVgHYmVU/DL3Bi38j2k NTyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=9oYxgCIzr5FyDbeswBUWwLzWAReBsap5M+R+uuyrSfk=; b=nluDpaSJshsyDdpTtiDQfRKHXzAxOVHV2WuCySLxB8lKKF+nkJ260qRNKVqg3JZQUj 7KTTJ5SDiPOdffGYROGozKoBrEyBH/U5F7qtdjZ0cjIuaOmvt1K++oe4VrqpDlSiaHHk WJMeZLhpHjVDD8BDnX5QbbjOEVLAEVGOkgu32XjSrNpnRyGf3a1GkgXsp4jS4EFPF/5Z 5wcQynR0FAXBpElQJIaHLUn5dt+8Q7wvaJ6a20GotxJgyWWlhcJD3v4Rk3oQeATEPwXJ p1kd10OOZucFv1O+AWyObmPtOFvPuJ7A3Xgdw7t2yFQ6diPY9UKHao4DKmdgTP6U7H8r rAPg== 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.50; Thu, 16 Sep 2021 04:19:50 -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 S237526AbhIPLVJ (ORCPT + 3 others); Thu, 16 Sep 2021 07:21:09 -0400 Received: from mx.socionext.com ([202.248.49.38]:63446 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236992AbhIPLVI (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:46 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by kinkan2-ex.css.socionext.com (Postfix) with ESMTP id BE15F2059034; Thu, 16 Sep 2021 20:19:46 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Thu, 16 Sep 2021 20:19:46 +0900 Received: from plum.e01.socionext.com (unknown [10.212.243.119]) by kinkan2.css.socionext.com (Postfix) with ESMTP id 57BCEAB192; Thu, 16 Sep 2021 20:19:46 +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 0/3] gpio: uniphier: Misc fixes Date: Thu, 16 Sep 2021 20:19:34 +0900 Message-Id: <1631791177-27229-1-git-send-email-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.7.4 Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org This patch series includes fixes and changes for UniPhier GPIO driver. Patch 1 is to remove the return value of each function according to the return type of irq_chip callback functions. Patch 2 is to replace direct access to IRQ hardware number with helper functions. Patch 3 is to replace direct access to private data from IRQ data with helper functions. Kunihiko Hayashi (3): gpio: uniphier: Fix void functions to remove return value gpio: uniphier: Use helper function to get IRQ hardware number gpio: uniphier: Use helper functions to get private data from IRQ data drivers/gpio/gpio-uniphier.c | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) -- 2.7.4