From patchwork Mon Nov 26 04:09:34 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 13174 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 2833B23E17 for ; Mon, 26 Nov 2012 04:16:35 +0000 (UTC) Received: from mail-ie0-f180.google.com (mail-ie0-f180.google.com [209.85.223.180]) by fiordland.canonical.com (Postfix) with ESMTP id CE6F3A1834A for ; Mon, 26 Nov 2012 04:16:34 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id c10so4007790ieb.11 for ; Sun, 25 Nov 2012 20:16:34 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=55socoDqS1iZ5LRrz7GpYdcj5jCaB9irZI611VFuoTs=; b=CBcqQfC/5QOt/BTZm3UEkt51BZBNfQBDGEwZaJPxThpaLpxaMNn2Ul+cgo0olVAKPm DmmewstKBPclxsBNyBcN9wkDSoYKHaUQTJaYROCwNsjaBGJi+yQPfERgQvEMupqC9Kv+ xc44UpBDjqOjq4Mgt5tbgblJVaY/ZEUTV2SbnyWIGfkqH63/6bTLZTvvG2o5Tv74NiGw rfoSCUqEc23U7vgh98bEKZjs2wt0flFdLC76EARrsxhPPt9k2ChpbHgIiEh2t0ikC+Wu l1JDI9Yc/ydtk8zYs1PpZj4wz41NPYqw9U1A3MdJB9FmJNjPAiQhGaib1Gef3YScLCA9 Loew== Received: by 10.50.152.137 with SMTP id uy9mr9626343igb.62.1353903394583; Sun, 25 Nov 2012 20:16:34 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.67.148 with SMTP id n20csp197696igt; Sun, 25 Nov 2012 20:16:34 -0800 (PST) Received: by 10.68.239.99 with SMTP id vr3mr33699750pbc.154.1353903394140; Sun, 25 Nov 2012 20:16:34 -0800 (PST) Received: from mail-pb0-f53.google.com (mail-pb0-f53.google.com [209.85.160.53]) by mx.google.com with ESMTPS id az5si17882595pbd.54.2012.11.25.20.16.33 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 25 Nov 2012 20:16:34 -0800 (PST) Received-SPF: neutral (google.com: 209.85.160.53 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.160.53; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.160.53 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) smtp.mail=sachin.kamat@linaro.org Received: by mail-pb0-f53.google.com with SMTP id jt11so7252234pbb.12 for ; Sun, 25 Nov 2012 20:16:33 -0800 (PST) Received: by 10.66.78.231 with SMTP id e7mr29348820pax.44.1353903393912; Sun, 25 Nov 2012 20:16:33 -0800 (PST) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id yi9sm8036353pbc.39.2012.11.25.20.16.31 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 25 Nov 2012 20:16:33 -0800 (PST) From: Sachin Kamat To: linux-leds@vger.kernel.org Cc: cooloney@gmail.com, rpurdie@rpsys.net, patches@linaro.org, sachin.kamat@linaro.org Subject: [PATCH 06/16] leds: leds-bd2802: Fix checkpatch warnings Date: Mon, 26 Nov 2012 09:39:34 +0530 Message-Id: <1353902984-10728-7-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1353902984-10728-1-git-send-email-sachin.kamat@linaro.org> References: <1353902984-10728-1-git-send-email-sachin.kamat@linaro.org> X-Gm-Message-State: ALoCoQlWk5QWC+ZQM4DXCBceFL4k1Z5cszrRwcrPuDOSiIpTKLP0i/OB48r1Jqlm3WgQjQLl8a7P Fixes the following type of checkpatch warnings: WARNING: please, no space before tabs Signed-off-by: Sachin Kamat --- drivers/leds/leds-bd2802.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/leds/leds-bd2802.c b/drivers/leds/leds-bd2802.c index ebdfe29..7044c46 100644 --- a/drivers/leds/leds-bd2802.c +++ b/drivers/leds/leds-bd2802.c @@ -26,8 +26,8 @@ #define BD2802_LED_OFFSET 0xa #define BD2802_COLOR_OFFSET 0x3 -#define BD2802_REG_CLKSETUP 0x00 -#define BD2802_REG_CONTROL 0x01 +#define BD2802_REG_CLKSETUP 0x00 +#define BD2802_REG_CONTROL 0x01 #define BD2802_REG_HOURSETUP 0x02 #define BD2802_REG_CURRENT1SETUP 0x03 #define BD2802_REG_CURRENT2SETUP 0x04 @@ -93,7 +93,7 @@ struct bd2802_led { * In ADF mode, user can set registers of BD2802GU directly, * therefore BD2802GU doesn't enter reset state. */ - int adf_on; + int adf_on; enum led_ids led_id; enum led_colors color;