From patchwork Thu Oct 16 17:11:34 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Soren Brinkmann X-Patchwork-Id: 5093001 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 77B219F30B for ; Thu, 16 Oct 2014 17:17:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A800C201EC for ; Thu, 16 Oct 2014 17:17:29 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D5AD02016C for ; Thu, 16 Oct 2014 17:17:28 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XeodD-0008T4-TW; Thu, 16 Oct 2014 17:14:31 +0000 Received: from mail-pa0-x232.google.com ([2607:f8b0:400e:c03::232]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XeobO-0007JH-83 for linux-arm-kernel@lists.infradead.org; Thu, 16 Oct 2014 17:12:38 +0000 Received: by mail-pa0-f50.google.com with SMTP id kx10so3755080pab.23 for ; Thu, 16 Oct 2014 10:12:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=KtU/Qkwx5GDQRBz4nyrUkTiaxKGJEXP6WKslivhATj4=; b=uAXD3WOj+sQSpNNk5+IpTUR5PhEEHcKVWQ49x67J07NpD6toVOKkxKk7k5Mtq0NWMJ YHdMkUVBDbH0mf1+zMM149vyX43ho123rOMTPrGvshGZZLijVxUeOAAguEqLjB1FRC8s qj4YzRvcjbtNbsuud+3SoGQFkfpvkdV66DSdZKyLVjOnAP0WghkXsovBQ5jHEKzPh4xC 3mOux0oW8j1+9BEw/Ls8ZNzuoxZ6ngd7Jomg3GETemAqCitzxnLmkTgGV95kU3Qwx3qz mS+5/2Ehe26X2IJfGn7Qd2boSKO7VolznM5u/F4523+ewSvDD8BrQQ1fGSYJrl5MuytU Yiaw== X-Received: by 10.68.136.195 with SMTP id qc3mr2873548pbb.40.1413479537305; Thu, 16 Oct 2014 10:12:17 -0700 (PDT) Received: from localhost ([149.199.62.254]) by mx.google.com with ESMTPSA id kj4sm20325492pdb.11.2014.10.16.10.12.15 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 16 Oct 2014 10:12:16 -0700 (PDT) From: Soren Brinkmann To: Linus Walleij Subject: [PATCH RFC v2 7/8] pinctrl: zynq: Use generic map_all function Date: Thu, 16 Oct 2014 10:11:34 -0700 Message-Id: <1413479495-14206-8-git-send-email-soren.brinkmann@xilinx.com> X-Mailer: git-send-email 2.1.2.1.g5e69ed6 In-Reply-To: <1413479495-14206-1-git-send-email-soren.brinkmann@xilinx.com> References: <1413479495-14206-1-git-send-email-soren.brinkmann@xilinx.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141016_101238_373130_FEB48DEA X-CRM114-Status: UNSURE ( 9.92 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) Cc: linux-arm-kernel@lists.infradead.org, Steffen Trumtrar , Michal Simek , =?UTF-8?q?S=C3=B6ren=20Brinkmann?= , linux-kernel@vger.kernel.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_NONE, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=no 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 Use the generic pinconf_generic_dt_node_to_map_all() function to parse config and mux settings from DT. Signed-off-by: Soren Brinkmann --- drivers/pinctrl/pinctrl-zynq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/pinctrl-zynq.c b/drivers/pinctrl/pinctrl-zynq.c index 0136bddbb4be..743a6f563c1e 100644 --- a/drivers/pinctrl/pinctrl-zynq.c +++ b/drivers/pinctrl/pinctrl-zynq.c @@ -790,7 +790,7 @@ static const struct pinctrl_ops zynq_pctrl_ops = { .get_groups_count = zynq_pctrl_get_groups_count, .get_group_name = zynq_pctrl_get_group_name, .get_group_pins = zynq_pctrl_get_group_pins, - .dt_node_to_map = pinconf_generic_dt_node_to_map_group, + .dt_node_to_map = pinconf_generic_dt_node_to_map_all, .dt_free_map = pinctrl_utils_dt_free_map };