From patchwork Wed Dec 9 13:38:35 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 58090 Delivered-To: patch@linaro.org Received: by 10.112.147.194 with SMTP id tm2csp674326lbb; Wed, 9 Dec 2015 05:38:42 -0800 (PST) X-Received: by 10.98.74.9 with SMTP id x9mr12900198pfa.139.1449668322290; Wed, 09 Dec 2015 05:38:42 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ph6si12788581pac.148.2015.12.09.05.38.42; Wed, 09 Dec 2015 05:38:42 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-gpio-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-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dkim=neutral (body hash did not verify) header.i=@linaro-org.20150623.gappssmtp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754639AbbLINil (ORCPT + 4 others); Wed, 9 Dec 2015 08:38:41 -0500 Received: from mail-lf0-f46.google.com ([209.85.215.46]:34253 "EHLO mail-lf0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754630AbbLINik (ORCPT ); Wed, 9 Dec 2015 08:38:40 -0500 Received: by lffu14 with SMTP id u14so34437570lff.1 for ; Wed, 09 Dec 2015 05:38:39 -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=AUivyVrxD7HvHJh7537ORf9NB1kBKdCsKV6HaAqGlKk=; b=ah+35hnfFKzf1XdOhVFeG+SYcsuCBlgu1U2uuBuamCR4kAFR5/B4T4KzZU+YxL+f9E zYmyL3y6JZdxlGqqtXqgsQ30b6K2GRg16EFthrqeKMJAyg4L4ZLwTT+ONHwK/xE17cZJ EmQfrjWIIijb4M0ePSYL+xaL6T/UTpuKyI8J78QqNcsZccc7OPpsY5cyhKBYLFTLUOls 3W8I5Orsu6a1NcLXmJ2P/Kgg6Hji6m2rFrWL73OrdsCKCOzjaPZH+OS0GOFDO2qT37Ff 1Z6mzEzLe8voVb9pmUZRU3YB8kWBNLKB5m89SteVqutAUKb76pzcmtaA7hFHiZ44L0YE s6mg== 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=AUivyVrxD7HvHJh7537ORf9NB1kBKdCsKV6HaAqGlKk=; b=PJ0m7dt28jU1DQzzvyMejI2lL3cZbAjScT0pjGyThSUZDFEa2xkloAc5q6zLP+wWoQ vcMUyH+f6R8zanYOPO/D0c8pyN5AX+7LntLiM430yrWJLBKPM42NMaLJRdSRoScXdcob XmMfWNyAHBzXTchn8hSAm9xwHHuVyUE/AWzaiH6DnSdygQrSCA225m8DOCdjV6AbUhbn slBNezhXhYrQrKFTn7miXUgN6ro9Oaoagzk4UeNqut4iIq7tyHXZ92b83vAmfsszKrzw f6p3aT0chwgwyif1YjDK4Yo9vXnAISlvHlSmkABcMcVoHAOX/qJCupC0ci5Sn7ch+I64 caNg== X-Gm-Message-State: ALoCoQmvH9nc6ayLiilQL9AvaxdBUzBjThGzR94dEgGHXjwS2Tf910NZmpEf9p0sqX76lsOKZDDNxO271hmsfhrYcqk+nxqT0g== X-Received: by 10.25.3.207 with SMTP id 198mr2258122lfd.47.1449668319634; Wed, 09 Dec 2015 05:38:39 -0800 (PST) Received: from localhost.localdomain ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id zm10sm1431063lbb.49.2015.12.09.05.38.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 Dec 2015 05:38:38 -0800 (PST) From: Linus Walleij To: linux-gpio@vger.kernel.org, Johan Hovold , Alexandre Courbot , Michael Welling , Markus Pargmann , Greg Ungerer , Geert Uytterhoeven Cc: Linus Walleij Subject: [PATCH 134/182] m68k: gpio: switch to gpiochip_add_data() Date: Wed, 9 Dec 2015 14:38:35 +0100 Message-Id: <1449668315-4352-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 2.4.3 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org We're planning to remove the gpiochip_add() function to swith to gpiochip_add_data() with NULL for data argument. Cc: Greg Ungerer Cc: Geert Uytterhoeven Signed-off-by: Linus Walleij --- Coldfire maintainers: please ACK this so I can take it through the GPIO tree. Also consider abstracting out GPIO and moving it to drivers/gpio at some point. It would involve some work though. --- arch/m68k/coldfire/gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.4.3 -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/m68k/coldfire/gpio.c b/arch/m68k/coldfire/gpio.c index e7e428681ec5..19c335d5031d 100644 --- a/arch/m68k/coldfire/gpio.c +++ b/arch/m68k/coldfire/gpio.c @@ -178,7 +178,7 @@ static struct gpio_chip mcfgpio_chip = { static int __init mcfgpio_sysinit(void) { - gpiochip_add(&mcfgpio_chip); + gpiochip_add_data(&mcfgpio_chip, NULL); return subsys_system_register(&mcfgpio_subsys, NULL); }