Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2812108imu; Sun, 23 Dec 2018 08:19:32 -0800 (PST) X-Google-Smtp-Source: ALg8bN7pUSGfBg9dqyaQbWiVfuF/QftVbcfw9+GqoTxKhOpAMi2SiboK7e6u239MRyk18ee4Fsd9 X-Received: by 2002:a5d:85c5:: with SMTP id e5mr6504232ios.125.1545581972238; Sun, 23 Dec 2018 08:19:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545581972; cv=none; d=google.com; s=arc-20160816; b=mgX2sprHKNOXtsduXbyjEfC3uR4CWxwg/dvctJct7SRsXbKQmWayIgIKnjm/yINLfG MTgj73Kc6AlH/HjRGwrbwQ3vrd0Cc1fHZ6UEuL6dc9o10T1zFrIXi3l53AEoZM4m37HJ eTvcRiVdyhiXnRerx/DFc4m6Qcy/OQIaE9pWKmvhxgUNz+6nVxEtHtsIdb2JVAVTWAOJ WfEux3knyBFXlGOWtrMM7jYb0jXvGPw2sH8n3Zdj3zp6lK28QvO/Km/B2yEARqi3RIes 2Ct6JCddjytDnmN1pZG245HbJJ/hNoh0bQBBEYkIQVbyvSORXD9JFcfpynNy2OHK/7q0 mFDQ== 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=funrV15ZJBWQbvTyrc7hNi1+PIiElalVGUOWUykLzEo=; b=feuORKP3PnGZKPZvnbM3r4ddb+c43b1H7EkvXeA7E7vC5Q9z1W+tJf4yT2EGjgzAhx bcpbqHvaIelBQT8AohAXsMR1G2b++oiZAPxo7wjlGJH7wGnaml3GVAG9TmqGdqzR4fP2 k36+hii5CtDcKVbPbYSZ/ZWEg+9HhIOoXRZ/V7Ol+eBeLEEKCu9qtULPficarJICYsp9 ZceHPIQVP3nntfjlnDLEjjY8QXwgSvDIslfc0RRSPIYmM19KqTCWD/nZemj1FZS3/RVk hHxHyI4qU7Vjy1whRKEv+GaPp6Fxt3dpDKdF/v5QMmZVU7G5jN8n64dsZUlXW1gIYhGz g04g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=W5FtkHJn; 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 o133si5152737itc.19.2018.12.23.08.19.19; Sun, 23 Dec 2018 08:19:32 -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=W5FtkHJn; 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 S2391335AbeLVRWE (ORCPT + 99 others); Sat, 22 Dec 2018 12:22:04 -0500 Received: from mail-pl1-f196.google.com ([209.85.214.196]:42592 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726009AbeLVRWD (ORCPT ); Sat, 22 Dec 2018 12:22:03 -0500 Received: by mail-pl1-f196.google.com with SMTP id y1so3903739plp.9 for ; Sat, 22 Dec 2018 09:22:02 -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=funrV15ZJBWQbvTyrc7hNi1+PIiElalVGUOWUykLzEo=; b=W5FtkHJnwJqMKXrfuyrDbT7+/7RpMZMJuT9Ve1yglGjKxEtRzD+cQ3+IDjhoOe2fwc Oz2k+CWmeUHqfoCFVvVv5LzNOo/yv2vsgsamxE8qX7GHIsgRyX2InRQfVMkFdEOhR1kX WgoFlxrRoguve7ShQobiPY6qnzeH8vASvAvs93AIOftfHaqDSuMnidCcAWn25Em7hFLZ 2RaH4Q8aCjT34zj5PlHAtbnbfzCjXz6BvETvXMw1HTe2xrctzNm4Dg6NZh21zC5g8ljZ 7UjzJqcAAsSNyXnO4+X96tPEyL9HxhDhVBizgNs6sTN//QBjhqn9OVEDgE9Tg5gsM120 X2mA== 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=funrV15ZJBWQbvTyrc7hNi1+PIiElalVGUOWUykLzEo=; b=r2Gx+61LEWwLgTVz6pu3RT8WUkmLmBgsWgTjeLLDBW6HSMYQ8HGXe5q1T413xa/fpg dwHDSKrVmDydHp5tYTh8BgZTbK+4CamoJk4/RP95WaxUrPZVrHLiGGN7XiBfs6yqvATm /YD1wS6AoJlKKot+paTTAsBOJkrNXmdAKeaHDTNDInBPJ+tGyHTAhl4/CteCjfwjZejv qRIOCnSQHgiQs/x1RmkW8wn1oAbg3nlOeEFF/pUPGHTl/DiIUDFaCScNPzMkdLywFI+/ b8cK/7OrBic0CpUJSIz0sRLhS+6Y+oDG1XLxDFbeDxm04ue7KJj6ydxRyBPX7dq7HVLM N0Jw== X-Gm-Message-State: AJcUukdRHtqGrJKin4XBKZ7WyWovbVTnBnUlcMBqy8TTSDUhz1pjmRdp Mg5g28fOW3kA3UqAqlIm+pa1imjH8Mg= X-Received: by 2002:a17:902:bc3:: with SMTP id 61mr6715300plr.15.1545489956960; Sat, 22 Dec 2018 06:45:56 -0800 (PST) Received: from nishad ([106.51.25.107]) by smtp.gmail.com with ESMTPSA id o8sm51541985pfa.42.2018.12.22.06.45.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 22 Dec 2018 06:45:56 -0800 (PST) Date: Sat, 22 Dec 2018 20:15:49 +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 v4 0/4] 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 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 (4): staging: greybus: gpio: switch GPIO portions to use GPIOLIB_IRQCHIP staging: greybus: gpio: Use gpiochip_get_data() in place of gpio_chip_to_gb_gpio_controller() 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/TODO | 2 - drivers/staging/greybus/arche-apb-ctrl.c | 154 ++++++++----------- drivers/staging/greybus/arche-platform.c | 124 +++++---------- drivers/staging/greybus/gpio.c | 187 +++-------------------- 5 files changed, 129 insertions(+), 339 deletions(-) -- 2.17.1