From patchwork Thu Mar 20 19:29:59 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 26766 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f199.google.com (mail-ve0-f199.google.com [209.85.128.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id BB3E720143 for ; Thu, 20 Mar 2014 19:38:29 +0000 (UTC) Received: by mail-ve0-f199.google.com with SMTP id cz12sf3250057veb.6 for ; Thu, 20 Mar 2014 12:38:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe:content-type; bh=bJFuAh261/0dzW0pFzuAlXlRURPuSWd9Qx6pHR1HsTg=; b=E7CKDxnSZiohUzc4l7wQkpIhmr1FlVy+4j2ea2kvfGtnoK0jdhrrQ9sQYvM+0hn9HJ dZZrRa73erv5yVIryG2QuWOu255f3ml6ugeiRjw2bMxJPEV4UOxD8QFfhVIwiZHbP0bL MOM0hot+xDPMDxuRFxQEH+rJpDQC/KQC1RmSs2RZfa0FrLjIfmyO0qSDcg7X+/hCqFVe bA6MD7yz9v96QpmuUheJ3xTM2GVDcsJeV+WYG7UY8PniQ7zRFn/eiNFAa+HhI9v1DaIt Xt2+Ht07cQDJ2I4nJV+79KR5jH6mWWV/iCxzxg1vusXisnwx2hphJYc09DBCAtemu7cv qPKA== X-Gm-Message-State: ALoCoQkZCCwxZ6QM1K83bJoY9DrvvQCtzjG+sGHHY9LiYwuObGKvnrdlQd9CgdlQ67qJ3kB8Syu/ X-Received: by 10.224.95.9 with SMTP id b9mr17884336qan.2.1395344309477; Thu, 20 Mar 2014 12:38:29 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.16.165 with SMTP id 34ls354251qgb.30.gmail; Thu, 20 Mar 2014 12:38:29 -0700 (PDT) X-Received: by 10.52.241.106 with SMTP id wh10mr29693017vdc.16.1395344309339; Thu, 20 Mar 2014 12:38:29 -0700 (PDT) Received: from mail-vc0-f169.google.com (mail-vc0-f169.google.com [209.85.220.169]) by mx.google.com with ESMTPS id gs7si659705vdc.128.2014.03.20.12.38.29 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 20 Mar 2014 12:38:29 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.169 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.169; Received: by mail-vc0-f169.google.com with SMTP id ik5so1574997vcb.0 for ; Thu, 20 Mar 2014 12:38:29 -0700 (PDT) X-Received: by 10.58.54.35 with SMTP id g3mr1822541vep.46.1395344309257; Thu, 20 Mar 2014 12:38:29 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.78.9 with SMTP id i9csp414304vck; Thu, 20 Mar 2014 12:38:28 -0700 (PDT) X-Received: by 10.66.145.230 with SMTP id sx6mr49981488pab.47.1395344304585; Thu, 20 Mar 2014 12:38:24 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id et3si2077247pbc.377.2014.03.20.12.38.24; Thu, 20 Mar 2014 12:38:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-serial-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932713AbaCTTiX (ORCPT + 2 others); Thu, 20 Mar 2014 15:38:23 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:53493 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933625AbaCTTcA (ORCPT ); Thu, 20 Mar 2014 15:32:00 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id s2KJVvoX012724; Thu, 20 Mar 2014 14:31:57 -0500 Received: from DLEE70.ent.ti.com (dlee70.ent.ti.com [157.170.170.113]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id s2KJVvHv018644; Thu, 20 Mar 2014 14:31:57 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.3.174.1; Thu, 20 Mar 2014 14:31:57 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id s2KJVuIm030932; Thu, 20 Mar 2014 14:31:57 -0500 From: Felipe Balbi To: Greg KH CC: , , , , , Linux OMAP Mailing List , Linux Kernel Mailing List , Felipe Balbi Subject: [PATCH 03/11] tty: serial: omap: cleanup variable declarations Date: Thu, 20 Mar 2014 14:29:59 -0500 Message-ID: <1395343807-21618-3-git-send-email-balbi@ti.com> X-Mailer: git-send-email 1.9.1.286.g5172cb3 In-Reply-To: <1395343807-21618-1-git-send-email-balbi@ti.com> References: <1395343807-21618-1-git-send-email-balbi@ti.com> MIME-Version: 1.0 Sender: linux-serial-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-serial@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: balbi@ti.com X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.169 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , cleanup only, no functional changes. Signed-off-by: Felipe Balbi --- drivers/tty/serial/omap-serial.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/tty/serial/omap-serial.c b/drivers/tty/serial/omap-serial.c index db5d90b..6831425 100644 --- a/drivers/tty/serial/omap-serial.c +++ b/drivers/tty/serial/omap-serial.c @@ -1624,10 +1624,13 @@ static int serial_omap_probe_rs485(struct uart_omap_port *up, static int serial_omap_probe(struct platform_device *pdev) { - struct uart_omap_port *up; - struct resource *mem, *irq; struct omap_uart_port_info *omap_up_info = dev_get_platdata(&pdev->dev); - int ret, uartirq = 0, wakeirq = 0; + struct uart_omap_port *up; + struct resource *mem; + struct resource *irq; + int uartirq = 0; + int wakeirq = 0; + int ret; /* The optional wakeirq may be specified in the board dts file */ if (pdev->dev.of_node) {