Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3158056imu; Fri, 23 Nov 2018 22:58:04 -0800 (PST) X-Google-Smtp-Source: AFSGD/UIOV0zk9X3kvk3T+HXZOxklSdIULhtQA6MV03RglCzdfdM1zR341/rpBqq/4TCxsUbQxha X-Received: by 2002:a17:902:7581:: with SMTP id j1mr19041003pll.308.1543042684123; Fri, 23 Nov 2018 22:58:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543042684; cv=none; d=google.com; s=arc-20160816; b=iu4MvITRqynsTgL6ru2a8DqvaLBLFX6SE0vJc5Fh4MocEPixd/QgC6saI9CYoHMCMl NubZCMOXf8QDUmZdUxLc3jhfnIVEzQfEpQoN+JReQWBsKzgzsH4IrhyD2wD7KbkMstRl Ua1vDjpvma18U6pULzNtwb+PKJpJfcvR95Z9PeHiHxOWx95ziLWHpilLPa5Y0/qvaY0s sCFZKJQjOQB+ESorfegpDlECLe+Fukq0xMRM1T1Cff3vmOLf72kGcx5YnSJ15oMua9Yv wF7Uexf6sbRhkMTRcXBpOjuBSSK0h6jjNqgfvAsGq7EbGIBgataIEYgBi4w5o26XnlAo Wvdw== 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=FRiwUOcpoS8c8tdAFcGpkoKWSvt5uAnHYr8nmG9U9O4=; b=C2IMo1GdXkTuC7hOEHzwXeGpO5gLJQ9fqA7QhxZSDRstF6sgqemZUawsyjGqh7aCV8 YJBGLF5LYdefMXgSrD72GFMmw7CwzRy3IBI+E1SC0FHy9UhjBkzgekR6+JOozsGD3HxE pP+d8I5nuN5BylEXAnokYjxQ2j6764JQvftSBc/6ZV3nmhsSLGVeK3OMs5hulkl4XsPZ DSSNYIKCbplF/wn4G+4+DZ9VfzSn1R7oYYAKDA4f6YaqI/ECWQdR5CQpiFhMmtQZBlGA FdahH1SmnMQBon6tgl41mLOYaNjT5srPWB7dy0BntcaQHok1h5ZXhJaLhOKhAJpuV+fL s3Fw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qCBdWckB; 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 v25si10291409pfg.135.2018.11.23.22.57.50; Fri, 23 Nov 2018 22:58:04 -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=qCBdWckB; 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 S2406169AbeKWDqp (ORCPT + 99 others); Thu, 22 Nov 2018 22:46:45 -0500 Received: from mail-pf1-f196.google.com ([209.85.210.196]:42701 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729486AbeKWDqp (ORCPT ); Thu, 22 Nov 2018 22:46:45 -0500 Received: by mail-pf1-f196.google.com with SMTP id 64so2181735pfr.9 for ; Thu, 22 Nov 2018 09:06:30 -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=FRiwUOcpoS8c8tdAFcGpkoKWSvt5uAnHYr8nmG9U9O4=; b=qCBdWckBYGoAhWb65AnDg5BklftjZqzwUVFKLbfsURGrll4jsyoQ2vTSE14c40Dhr1 dTE9Zn76F/ufSoMZgeM288AI27SAKq2RkVapn50nh6M7fHtANcmy06f4HgQneVGK3NUZ Mg0Ym1wPfkysLgtcfzLMBznqxj5dBTf1amC7n/tPPm9BZEHP1y1g8xlD6YtSkUSbWNIi dtESUs2Z3BqjztbKlirXmP8L4BJ+oy9BUlrJ0xpWwIQT/glXduKEGEiMjxiF4JuD6wFQ tWRQPS12UEhvcq5MM6Ca/0JblpzwDP1c3h3Vtmo4E8jGZQFk09UUdC7jthgx+A2efn/b MU5A== 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=FRiwUOcpoS8c8tdAFcGpkoKWSvt5uAnHYr8nmG9U9O4=; b=nb0ls44TdjOb+U2jgSY7P3KtPkWIs8C0fBddbo7N40bKdyDGg76QKKWZ822oW04C2J 30Rnx8ZQylQJVfJJMzOTIh6JOaGQzNzThWkOw7qxge4koumA8YeQc/eae1x5QQARwfsy 9ITVmpTvg63URxwfqwa/1KdX01r5XoyuThvDRR37f7ye8fhIllV6L8B3awAAe1CExJQY 37Cw3XMsS2f+ex5uoRoIaRD+EBtWdYqiqP99J2ieY8YFdhAqSHZwl15SQZBgv3pfwGFW lPuY2by7F5dD3hA33XGeVLzxXtP6RhymWmCK+q8VDatr8TtLq0AyWvpFZjVoPMjqP7jK +c7A== X-Gm-Message-State: AA+aEWZCpoSqlFp7t6IfcOtdEO6gUa/u8aCO1ogi0jevqDDcX8g8QPco VqoLf8RxRMzJkI02ds1vcAM= X-Received: by 2002:a63:31d0:: with SMTP id x199mr10708069pgx.10.1542906390409; Thu, 22 Nov 2018 09:06:30 -0800 (PST) Received: from nishad ([106.51.27.228]) by smtp.gmail.com with ESMTPSA id l62-v6sm64928042pfl.28.2018.11.22.09.06.27 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 22 Nov 2018 09:06:29 -0800 (PST) Date: Thu, 22 Nov 2018 22:36:24 +0530 From: Nishad Kamdar To: Greg Kroah-Hartman Cc: Johan Hovold , Alex Elder , Rui Miguel Silva , greybus-dev@lists.linaro.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 0/3] 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 v3: - Combines the latest versions of the three greybus patches together in a patch series. Nishad Kamdar (3): staging: greybus: gpio: switch GPIO portions to use GPIOLIB_IRQCHIP 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/Kconfig | 1 + drivers/staging/greybus/arche-apb-ctrl.c | 159 ++++++++------------ drivers/staging/greybus/arche-platform.c | 119 +++++---------- drivers/staging/greybus/gpio.c | 184 +++-------------------- 4 files changed, 130 insertions(+), 333 deletions(-) -- 2.17.1