Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp699526imu; Fri, 11 Jan 2019 07:35:11 -0800 (PST) X-Google-Smtp-Source: ALg8bN4wbgrThicG07DgHeRSqFwK125lQ+Bl3OOkBq+9u7+UYfFNtpMkTDJvpuwBdN3KncQN+GCj X-Received: by 2002:a17:902:7848:: with SMTP id e8mr15448204pln.100.1547220911312; Fri, 11 Jan 2019 07:35:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547220911; cv=none; d=google.com; s=arc-20160816; b=mKcOdKvuMhpwuFUqI/4DuGKVI02B93180JOEh7333vivvwcYXx6CDb37PE4RxDkg2X MiPUepbNpeyUvFgQE+ooBEw8l7LKjG7qPwkqeFAacCw5cCKx/m1xgATngzJpyMyjb2q9 jDRYEoZlRWO9H4myT+uHd18c2GPafalS6Nwvfe70MYVROdYAJxhHouNDV4qOzLkLfLsN WrkGqarSy7alL3bF7Vm9Uyosj/O50fqDT20XtE5V2YvIPlfUnAtgfp2fFK/XOhjd1iXt TRDrvnm8NKvZmL56jGFMakg1ok1bKdZP+WcIVQzhCj7bMgalB+K58uAoQYnZN/PnRwEc MkZw== 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=dIgoxrKtHZ5BuC4BTF7icHBp5uTqqFOdRNmLX2AjHBc=; b=exr9+qB0ichOj/v8JJ5dRFzNe5OivTLRarCuAk5UTrPOtpe+ZJE6g/gFLEGBQ24ICF SmvmqqIKlCF3WM+uF8BGFUqmhq4s0UJXAq40MG9QGbakhgvKQ5B2mk8IdgsVrbhQoYmg T+DmUVhBdbozTa/wvFP7fHDxso/zUxAqA2lFuKyFNIDIRedoIwyR+fQ5HBDVZN4IQRHw rhEPjvDNZpeKDRnCoGWo2/kRxxNioKLBp/XF55tfJLJH8LUjtTmNTh140RFKzZ0qUuZU mfrCJClV16mC0lz/m9YSc/zf1WwhANkvJE6g/h4qPbLhuUDl0YZi9W14gHjAKrmHw3bl vHaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=rqCdQJf0; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b1si25020909plc.332.2019.01.11.07.34.55; Fri, 11 Jan 2019 07:35:11 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=rqCdQJf0; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733003AbfAKPdY (ORCPT + 99 others); Fri, 11 Jan 2019 10:33:24 -0500 Received: from mail-pf1-f193.google.com ([209.85.210.193]:39687 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730193AbfAKPdY (ORCPT ); Fri, 11 Jan 2019 10:33:24 -0500 Received: by mail-pf1-f193.google.com with SMTP id r136so7100241pfc.6 for ; Fri, 11 Jan 2019 07:33:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=dIgoxrKtHZ5BuC4BTF7icHBp5uTqqFOdRNmLX2AjHBc=; b=rqCdQJf0xTNxdbeLXWaO1qle9NAphP5wp5LYt8D8RFab5kXeL19cMQ2k3pkQU4+Dfm NO3TDT8OXSWPUs08cdlI+5CHMjXHpsmjWHXptqMPrDgfar94+0c6ZLk2plejJ7yE5vtI mKNS52bOxnrNkQam+SPZMXpNwkG7Y8f9ymIOX/2YTCJFaJlat7GhpYNygzt3zaUwlC9C gwaD9Ze/rxqy+H3y5BhMST25h+gxLLrU5tLnLpvGNUwjW438HEH8puk3x8P5cpU1+iQy sH+Eza9q8AvL5j+VVKcf0WM9Ju4RxsdQlc20fd+oFIBINfft9cAp5jvpVrKPOZKohuRf WWzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=dIgoxrKtHZ5BuC4BTF7icHBp5uTqqFOdRNmLX2AjHBc=; b=VXXQ75oD+Y7mN+6wV+eILf+gbZB5F8h+sEALquXXqK8LX8CD8bEfYUXFk+LHcLQaYU fc+145WlAZlwa8Ea0xWBtc+2PxFO5EVj/WVFgCGH5lpC48znJjL7FA6Jx4wHozJ1EPnz GccjF9tu6O4zyUqRwCgCdb729SawnPFZ0HtoEnqay6YMjjuTpxRbt++iGJ/UteqJI3oI A/U9WDH9VMYG6SAvZBerMHk8rOVTF7VvZFniUuRrggv2Vu43rLRP92W6sP0Oh4bOaht+ NjcpI6VN8TxC1SLShtt9Vr11NiBwu0ePTn25EvZGOu2t0mZ3QDgwd8keH3cmZvF4l+C9 dxWA== X-Gm-Message-State: AJcUukfAzmSi0jUeUvdRdaI5GmdmAal80sArD51OYXt+8qBtn+pBZAdY fq2Y00ZnDqo1zaDy/X06D6s= X-Received: by 2002:a62:d448:: with SMTP id u8mr14963906pfl.105.1547220803382; Fri, 11 Jan 2019 07:33:23 -0800 (PST) Received: from nishad ([106.51.25.107]) by smtp.gmail.com with ESMTPSA id f20sm99778435pfn.177.2019.01.11.07.33.20 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 11 Jan 2019 07:33:22 -0800 (PST) Date: Fri, 11 Jan 2019 21:03:16 +0530 From: Nishad Kamdar To: Johan Hovold Cc: Greg Kroah-Hartman , Alex Elder , Rui Miguel Silva , greybus-dev@lists.linaro.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Nishad Kamdar Subject: [PATCH v6 0/2] greybus: gpio: Switch to the gpio descriptor interface Message-ID: 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 This patch series converts uses of the old GPIO API to the GPIO descriptor API. It also converts the GPIO driver to use the GPIO irqchip library GPIOLIB_IRQCHIP instead of repimplementing the same. Changes in v6: - Patchset now contains two patches as the patch 1 has been accepted. - Changes mentioned in individual patches of the set. Changes in v5: - Drop the patch which uses gpiochip_get_data() in place of gpio_chip_to_gb_gpio_controller() as of now. - This is because it currently breaks the driver, since gpiochip_add() sets the data pointer to NULL. Changes in v4: - Changes mentioned in individual patches of the set. Changes in v3: - Combines the latest versions of the three greybus patches together in a patch series. Nishad Kamdar (2): staging: greybus: arche-apb-ctrl.c: Switch to the gpio descriptor interface staging: greybus: arche-platform: Switch to the gpio descriptor interface drivers/staging/greybus/arche-apb-ctrl.c | 152 +++++++++-------------- drivers/staging/greybus/arche-platform.c | 124 ++++++------------ 2 files changed, 102 insertions(+), 174 deletions(-) -- 2.17.1