From patchwork Wed Apr 20 23:52:31 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jason Kridner X-Patchwork-Id: 92354 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 569CA1007DC for ; Thu, 21 Apr 2011 10:00:33 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id CC4A128173; Thu, 21 Apr 2011 02:00:31 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id G3Bna027l36n; Thu, 21 Apr 2011 02:00:31 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id AE83E281A3; Thu, 21 Apr 2011 02:00:28 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D22B0281C9 for ; Thu, 21 Apr 2011 02:00:25 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GR5n9EzlAxc9 for ; Thu, 21 Apr 2011 02:00:25 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-vx0-f172.google.com (mail-vx0-f172.google.com [209.85.220.172]) by theia.denx.de (Postfix) with ESMTPS id 01792281AA for ; Thu, 21 Apr 2011 02:00:16 +0200 (CEST) Received: by mail-vx0-f172.google.com with SMTP id 33so902364vxg.3 for ; Wed, 20 Apr 2011 17:00:16 -0700 (PDT) Received: by 10.220.176.199 with SMTP id bf7mr2263079vcb.178.1303343584200; Wed, 20 Apr 2011 16:53:04 -0700 (PDT) Received: from localhost.localdomain (ec2-75-101-156-174.compute-1.amazonaws.com [75.101.156.174]) by mx.google.com with ESMTPS id x29sm276581vcf.2.2011.04.20.16.53.03 (version=SSLv3 cipher=OTHER); Wed, 20 Apr 2011 16:53:03 -0700 (PDT) From: Jason Kridner To: u-boot@lists.denx.de Date: Wed, 20 Apr 2011 18:52:31 -0500 Message-Id: <1303343572-19972-8-git-send-email-jkridner@beagleboard.org> X-Mailer: git-send-email 1.5.6.4 In-Reply-To: <1303343572-19972-7-git-send-email-jkridner@beagleboard.org> References: <1303343572-19972-1-git-send-email-jkridner@beagleboard.org> <1303343572-19972-2-git-send-email-jkridner@beagleboard.org> <1303343572-19972-3-git-send-email-jkridner@beagleboard.org> <1303343572-19972-4-git-send-email-jkridner@beagleboard.org> <1303343572-19972-5-git-send-email-jkridner@beagleboard.org> <1303343572-19972-6-git-send-email-jkridner@beagleboard.org> <1303343572-19972-7-git-send-email-jkridner@beagleboard.org> Cc: beagleboard@googlegroups.com Subject: [U-Boot] [PATCH] led: remove trailing whitespace X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.9 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Required to meet style requirements. Signed-off-by: Jason Kridner --- common/cmd_led.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/common/cmd_led.c b/common/cmd_led.c index ad0fd0f..90cf043 100644 --- a/common/cmd_led.c +++ b/common/cmd_led.c @@ -96,7 +96,7 @@ int do_led (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) } for (i = 0; led_commands[i].string; i++) { - if ((strcmp("all", argv[1]) == 0) || + if ((strcmp("all", argv[1]) == 0) || (strcmp(led_commands[i].string, argv[1]) == 0)) { match = 1; if (led_commands[i].on) {