From patchwork Wed Dec 9 13:47:29 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 58118 Delivered-To: patch@linaro.org Received: by 10.112.147.194 with SMTP id tm2csp679268lbb; Wed, 9 Dec 2015 05:47:35 -0800 (PST) X-Received: by 10.98.65.76 with SMTP id o73mr13056498pfa.119.1449668855772; Wed, 09 Dec 2015 05:47:35 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id qj4si12857243pac.33.2015.12.09.05.47.35; Wed, 09 Dec 2015 05:47:35 -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 S1754179AbbLINrf (ORCPT + 4 others); Wed, 9 Dec 2015 08:47:35 -0500 Received: from mail-lb0-f181.google.com ([209.85.217.181]:34520 "EHLO mail-lb0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753083AbbLINre (ORCPT ); Wed, 9 Dec 2015 08:47:34 -0500 Received: by lbbcs9 with SMTP id cs9so30219264lbb.1 for ; Wed, 09 Dec 2015 05:47:33 -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=9Lmdvh+kYRqeVnQfbeJV9gnVxhBeTXdvjzwtkRVoPfg=; b=XkRadZRWlvMYuTq9v44M2XF++XjIvsNTYW7IUdjb+iVcrPIRsdy5yzVLHf/iqHyrFJ uIY6l90Dd/92tccXjnr1edEINKvtu8Urpvt+8yCm6hDhPzCpG1en/07r7qObNESPPPow sWnQd66LEMQZqixVA+H2m3cXpe3KB7xEWu/gilwKuuNmtRJJACixcxhKHngdSMmHTRSD CndnyfZiYSEjUR900jM9DCo+szLrcpa7/TJ3yb9INTnVVdXqa90p4HMMDmrWG8qu/gpq 63QFF1D/BdXSa65me2vqmnldO4JAG+ynnuJgY3RRnvMsu0EnHYHsxD3XejL7wDQrbGgS jsHA== 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=9Lmdvh+kYRqeVnQfbeJV9gnVxhBeTXdvjzwtkRVoPfg=; b=RzIvc0Qg/9GuiVFcOyi9hkNDUxB0Ola2y6hepX4DWqkzFsUNKGKIAGG7cg3w35x4rx SFaptpooCn9QOrjrtdudBCFRx5/pbIjxASEcsnWAlYeVRqmNy2+mg5REETvT0lw6ikQH XkNR3TG0+nkVOJpkjq7ZB7R9qWbYmdQi99a58onhk22dF/n8Fy1M0luQJRkWuY9w29UB jbOan1thwYYez+FY6QoYYPAd0K1MdojbmSplEwkRWImZIc40gUEw9cnQx/kkk7TT3m/q vDedPiwXB8WDFFgx2wckpED3pihM0syvaIRtHpD/JfI1ZGwzux2poT1oTsEKP4wj6P2o IP5w== X-Gm-Message-State: ALoCoQndiniTuogESPFaS0h9BtW0J337WLMQaOjBe0SY3rgkFvq4tgv6XhmLi8do+EhukYGj0V2ES7zekBqnrA2SmZajk0xtkQ== X-Received: by 10.112.200.163 with SMTP id jt3mr2400135lbc.68.1449668853272; Wed, 09 Dec 2015 05:47:33 -0800 (PST) Received: from localhost.localdomain ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id m75sm1456697lfg.15.2015.12.09.05.47.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 Dec 2015 05:47:32 -0800 (PST) From: Linus Walleij To: linux-gpio@vger.kernel.org, Johan Hovold , Alexandre Courbot , Michael Welling , Markus Pargmann , Lee Jones Cc: Linus Walleij Subject: [PATCH 162/182] mfd: dm355evm_msp: switch to gpiochip_add_data() Date: Wed, 9 Dec 2015 14:47:29 +0100 Message-Id: <1449668849-6213-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: Lee Jones Signed-off-by: Linus Walleij --- Lee please ACK this so I can take it through the GPIO tree. --- drivers/mfd/dm355evm_msp.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 Acked-by: Lee Jones diff --git a/drivers/mfd/dm355evm_msp.c b/drivers/mfd/dm355evm_msp.c index bc90efe01b59..d2c9a0dda531 100644 --- a/drivers/mfd/dm355evm_msp.c +++ b/drivers/mfd/dm355evm_msp.c @@ -260,7 +260,7 @@ static int add_children(struct i2c_client *client) /* GPIO-ish stuff */ dm355evm_msp_gpio.parent = &client->dev; - status = gpiochip_add(&dm355evm_msp_gpio); + status = gpiochip_add_data(&dm355evm_msp_gpio, NULL); if (status < 0) return status;