From patchwork Wed Mar 30 08:48:02 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 64646 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp2467422lbc; Wed, 30 Mar 2016 01:48:49 -0700 (PDT) X-Received: by 10.98.65.14 with SMTP id o14mr10890836pfa.151.1459327728491; Wed, 30 Mar 2016 01:48:48 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id dx1si4992598pab.85.2016.03.30.01.48.48; Wed, 30 Mar 2016 01:48:48 -0700 (PDT) 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=@linaro.org; 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 dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758867AbcC3Isk (ORCPT + 29 others); Wed, 30 Mar 2016 04:48:40 -0400 Received: from mail-lf0-f53.google.com ([209.85.215.53]:34938 "EHLO mail-lf0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758809AbcC3Isc (ORCPT ); Wed, 30 Mar 2016 04:48:32 -0400 Received: by mail-lf0-f53.google.com with SMTP id k79so30681704lfb.2 for ; Wed, 30 Mar 2016 01:48:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=2mwpw9j0KsPNTs+qKJ5Gk3Cjc0iIoiVlE5QSgxSV5f0=; b=TL1EoJqUZKwsDGwZIheLqhPPay6i5N8Q28ijpfKu0ZoJgiVf0mt4tUywSpEfnYDU3Y dNMo+7nz1kHGHcvQYl0Ew7QHgz7DPi7DcF/xwqbrGR7MzPaq3A4S7+eJjnEk0W56n6Vt gDHSPvNLhgco8u9dghGV4p+1Xfdp4/MnZJp4g= 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:in-reply-to :references; bh=2mwpw9j0KsPNTs+qKJ5Gk3Cjc0iIoiVlE5QSgxSV5f0=; b=ifgOvNyxy6qV78vd5zT6FNy4/ePh6Hk6QI7QaMAJlK/BlzdaypUHepMLuGhFxLOwqm zxhck++igOj9t7anTSD2HDkyx/Ba8GPKE0S7dVcJlAXxLUIiY3lrASlqpRHIwNlneK68 k9iNCc9g1xtfsTZiwGuyLjE74Z9VWSIeoTpn7/QpKJgRq0kLBRZrS1QYic2mmBa/R0uu AhgWzZN4HbfDWC2Z1YZ9M3msUIMH7qfmDxLY6pMh1UReymkKgOEqDaMZSHHiZn4SW8qu JDaTn1MoNIFuKyJJxT848RWUqOrOeX7zRRpS/XziSmcTDHQhBKbZ37eO8IQ1/Ji+89cD vTCA== X-Gm-Message-State: AD7BkJIpx8o6di9Us2o1a3OWH+thN/mcp/BKhUDTxre2C8uOAb0NfA4rTF5ybXAmc0uy8ckD X-Received: by 10.25.26.83 with SMTP id a80mr3265654lfa.36.1459327710943; Wed, 30 Mar 2016 01:48:30 -0700 (PDT) Received: from localhost.localdomain ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id l10sm421542lfb.35.2016.03.30.01.48.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 Mar 2016 01:48:30 -0700 (PDT) From: Linus Walleij To: Samuel Ortiz , Lee Jones , linux-kernel@vger.kernel.org Cc: Linus Walleij Subject: [PATCH 2/9] mfd: dm355evm_msp: Switch to gpiochip_add_data() Date: Wed, 30 Mar 2016 10:48:02 +0200 Message-Id: <1459327689-12786-3-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 2.4.3 In-Reply-To: <1459327689-12786-1-git-send-email-linus.walleij@linaro.org> References: <1459327689-12786-1-git-send-email-linus.walleij@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org We're planning to remove the gpiochip_add() function to swith to gpiochip_add_data() with NULL for data argument. Acked-by: Lee Jones Signed-off-by: Linus Walleij --- drivers/mfd/dm355evm_msp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.4.3 diff --git a/drivers/mfd/dm355evm_msp.c b/drivers/mfd/dm355evm_msp.c index ec4438ed2faf..d7d59f8d9d06 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;