Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp1575262imj; Fri, 8 Feb 2019 03:54:31 -0800 (PST) X-Google-Smtp-Source: AHgI3IZk6/bYhdSFCaVONWuChkAqbyC+pxKR7uqc8smfSr1nknOZVfCPVJ6IB7H9lSIgfh30CCeQ X-Received: by 2002:a62:1a91:: with SMTP id a139mr22451267pfa.64.1549626871750; Fri, 08 Feb 2019 03:54:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549626871; cv=none; d=google.com; s=arc-20160816; b=lpbjmRPdjJY+c3D6YCHCXe4wun9dQENonMw/rCJdARvtu7uwaMPX8FXI6t8hdZKCNe OJacX2ZsfvyFRHIF1YIGyOr62OUg/bCFHR1cOtf8FnjvqYDcNBmeBlZiLiswdfk74ipQ 0mmXg0/azZkuA3o2+0PgV7+7sXMo6gedsgcdEd8EDA0D/HWgEGXm8ytHnX4FP7FK0Erw WnyRZLm8aK2sipd7arZLen/TjPHOqxzGazGF3IKwoicSx3HADQ9PbJJeP7jwP5ILRthM 4sgQAkYo18kJKF0Y6W3AgUa8wwkSh4QDf84Sqk5lRMsM9NWKivQvF/FxDY2Z3XtE38Cj GUUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=ayNS8aRfdLB3LC2yhUFC3XL3Ji8xQbdTVYESlYvjfA0=; b=FP8bZveZ6FF4NrEwck5EL0WTdk8BxxdlfmAJIzGb+292EM3+/I2jj4oD1x1qmZg6lX ywSzmZApyQU7S1wRTCtHQSLJL3Pph3Cpj24X6r+TGRXVz+42PKi7BDYTeTl18K6GpTAH CpV17UnqERYLHelCmMuWPlSbML40RGf5I9l88dKmqS4f+ZkT2PpmynWB/+Zneb8pL2nK SLknQwjX+Gm5PThvWfps7Qf5DAPVyQ/kM3ci4D9+T0e7/SWKFz0dzGFklBiWq/vwrWYW bKFamN0tr/reMw8DoH8VE9IH1t1dR4ziswoO0ojzT+VoDGh2G5u8gbi/T8Dp0asRTPeo 0g+w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s13si1844808pgp.347.2019.02.08.03.54.15; Fri, 08 Feb 2019 03:54:31 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727338AbfBHLwF (ORCPT + 99 others); Fri, 8 Feb 2019 06:52:05 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:57075 "EHLO relay3-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726522AbfBHLwE (ORCPT ); Fri, 8 Feb 2019 06:52:04 -0500 X-Originating-IP: 90.88.22.177 Received: from localhost (aaubervilliers-681-1-80-177.w90-88.abo.wanadoo.fr [90.88.22.177]) (Authenticated sender: thomas.petazzoni@bootlin.com) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 6056F6000E; Fri, 8 Feb 2019 11:52:02 +0000 (UTC) From: Thomas Petazzoni To: Linus Walleij , Bartosz Golaszewski Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Thomas Petazzoni Subject: [PATCH 0/3] gpio: drop a few unneeded irq_{request,release}_resources implementations Date: Fri, 8 Feb 2019 12:51:58 +0100 Message-Id: <20190208115201.7518-1-thomas.petazzoni@bootlin.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, Three GPIO drivers in the tree implement the irq_{request,release}_resources hooks with what is in fact the default implementation provided by the GPIO core, making this driver-specific code redundant. It is worth mentioning that I do not own any of the affected platforms, to the three patches have only been built-tested. Each is Cc'ed to the appropriate maintainer, except gpio-em that has no platform-specific maintainer. Best regards, Thomas Petazzoni Thomas Petazzoni (3): gpio: bcm-kona: drop ->irq_{request,release}_resources hooks gpio: dwapb: drop ->irq_{request,release}_resources hooks gpio: em: drop ->irq_{request,release}_resources hooks drivers/gpio/gpio-bcm-kona.c | 16 ---------------- drivers/gpio/gpio-dwapb.c | 27 --------------------------- drivers/gpio/gpio-em.c | 25 ------------------------- 3 files changed, 68 deletions(-) -- 2.20.1