From patchwork Wed Dec 9 13:42:46 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 7808741 X-Patchwork-Delegate: horms@verge.net.au Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 62091BEEE1 for ; Wed, 9 Dec 2015 13:42:53 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 89D4520462 for ; Wed, 9 Dec 2015 13:42:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 911BE203DC for ; Wed, 9 Dec 2015 13:42:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754679AbbLINmv (ORCPT ); Wed, 9 Dec 2015 08:42:51 -0500 Received: from mail-lf0-f53.google.com ([209.85.215.53]:33152 "EHLO mail-lf0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751531AbbLINmu (ORCPT ); Wed, 9 Dec 2015 08:42:50 -0500 Received: by lfaz4 with SMTP id z4so34501016lfa.0 for ; Wed, 09 Dec 2015 05:42:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=BxDdO5uHtYgp2GUBQxV2hEVRN4n5uU7MmZn+tfbAlHg=; b=GVfIZvQlmzeH2wo/tzQ7hOjS3+9QO24RjWu9EfG+oBjoPdZLWku/GwVOgM1sVDUVAR MWYQ8pvq44tX7Cvlz9uh4fhkrndiX377p32mbQfsKZHQc3BCkpLf7gwGapAzIXFnVGxJ BovQeonlnCOwQEXuok2wElPyCFnnq2Nh2smEN71DZkZGn97T1zoMWHdr/52URhemtiMs 12+PgyDIFFRnH97nS0bngyjKlf8uYScpwn0KPe+rUcwleSCXyGmHfm0M8xiUFuKXW+Dq YDcmwqINs6l08qgFNYxRYX//UpoAgF/UcAJ+yrCbdwjKAhk9UIROb18y7R5j4050QsuK q5vw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=BxDdO5uHtYgp2GUBQxV2hEVRN4n5uU7MmZn+tfbAlHg=; b=XEHXUVR1Dy5EOp58S61ecnfeq8YjD4AkyupOhVMKQUt6DOBLYZ63g79OoFiQsrVp1V uIJNOezzWvCfFCIRy7uj+IGZnygb4G8Vy8fwWV94vGYb46mdYAnAyNM47PmHbcO+jwrF Um6NS57/o8gFSgZqlNGEjMc4CfFDZOwuu+8ujikhnC3eGRuISzvOynPFVJDEx3QJQBb5 BfFvKuSxeV5UnLKXI8G574Y8DrloaiWpo9EmDOfyln56MvqRp3YE/J7cPVIuN3LnY70m PIbW90+yHrqFar+JFdeDDp1IwFVW1t4h8U+cQdt5owIHLROoiHTTgT82PEXmSAdD4p9j j2KQ== X-Gm-Message-State: ALoCoQlNopuJklxdeRt0iiQjrrPbU1tF6sO+FTNJYrHdFA8gfAaI0/LyonuTTPi7+tjspw3vU5GuoDOmeD3WNlVyUvrgIToswA== X-Received: by 10.25.38.2 with SMTP id m2mr2323775lfm.113.1449668569273; Wed, 09 Dec 2015 05:42:49 -0800 (PST) Received: from localhost.localdomain ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id wu10sm1439020lbb.44.2015.12.09.05.42.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 Dec 2015 05:42:48 -0800 (PST) From: Linus Walleij To: linux-gpio@vger.kernel.org, Johan Hovold , Alexandre Courbot , Michael Welling , Markus Pargmann , Paul Mundt Cc: Linus Walleij , linux-sh@vger.kernel.org Subject: [PATCH 151/182] sh: x3proto-gpio: switch to gpiochip_add_data() Date: Wed, 9 Dec 2015 14:42:46 +0100 Message-Id: <1449668566-5356-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 2.4.3 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID,T_RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP We're planning to remove the gpiochip_add() function to swith to gpiochip_add_data() with NULL for data argument. Cc: Paul Mundt Cc: linux-sh@vger.kernel.org Signed-off-by: Linus Walleij --- SH people: please ACK this so I can take it through the GPIO tree. --- arch/sh/boards/mach-x3proto/gpio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/sh/boards/mach-x3proto/gpio.c b/arch/sh/boards/mach-x3proto/gpio.c index 1fb2cbee25f2..cea88b0effa2 100644 --- a/arch/sh/boards/mach-x3proto/gpio.c +++ b/arch/sh/boards/mach-x3proto/gpio.c @@ -13,7 +13,7 @@ #include #include -#include +#include #include #include #include @@ -107,7 +107,7 @@ int __init x3proto_gpio_setup(void) if (unlikely(ilsel < 0)) return ilsel; - ret = gpiochip_add(&x3proto_gpio_chip); + ret = gpiochip_add_data(&x3proto_gpio_chip, NULL); if (unlikely(ret)) goto err_gpio;