From patchwork Fri Feb 6 16:55:35 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Janusz_U=C5=BCycki?= X-Patchwork-Id: 437381 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 34AFB140082 for ; Sat, 7 Feb 2015 03:53:50 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754379AbbBFQxs (ORCPT ); Fri, 6 Feb 2015 11:53:48 -0500 Received: from v032797.home.net.pl ([89.161.177.31]:61496 "HELO v032797.home.net.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752096AbbBFQxr (ORCPT ); Fri, 6 Feb 2015 11:53:47 -0500 Received: from 5-226-98-186.static.ip.netia.com.pl (5.226.98.186) (HELO ip165.elproma.lan) by elproma.home.pl (89.161.177.31) with SMTP (IdeaSmtpServer v0.80) id c83f6a162de7a775; Fri, 6 Feb 2015 17:53:46 +0100 From: Janusz Uzycki To: Greg Kroah-Hartman , Linus Walleij , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , =?UTF-8?B?QWxleGFuZGVyIFNoaXlhbg==?= Cc: fabio.estevam@freescale.com, Richard Genoud , Fabio Estevam , linux-serial@vger.kernel.org, linux-gpio@vger.kernel.org, Alexandre Courbot , linux-arm-kernel@lists.infradead.org, Janusz Uzycki Subject: [PATCH v3 4/4] serial: clps711x: Update to new mctrl_gpio_init_dt Date: Fri, 6 Feb 2015 17:55:35 +0100 Message-Id: <1423241735-30387-4-git-send-email-j.uzycki@elproma.com.pl> X-Mailer: git-send-email 1.7.11.3 In-Reply-To: <1423241735-30387-1-git-send-email-j.uzycki@elproma.com.pl> References: <1423241735-30387-1-git-send-email-j.uzycki@elproma.com.pl> Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org The patch updates clps711x serial driver to new mctrl_gpio_init_dt which came with new helpers for gpio irqs. Signed-off-by: Janusz Uzycki --- There is no changes since v2. Compile-test only - please test it on real hardware. --- drivers/tty/serial/clps711x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/clps711x.c b/drivers/tty/serial/clps711x.c index 6e11c27..4fa0210 100644 --- a/drivers/tty/serial/clps711x.c +++ b/drivers/tty/serial/clps711x.c @@ -500,7 +500,7 @@ static int uart_clps711x_probe(struct platform_device *pdev) platform_set_drvdata(pdev, s); - s->gpios = mctrl_gpio_init(&pdev->dev, 0); + s->gpios = mctrl_gpio_init_dt(&s->port, 0); ret = uart_add_one_port(&clps711x_uart, &s->port); if (ret)