From patchwork Fri May 3 06:21:14 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 241200 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-ia0-x23f.google.com (mail-ia0-x23f.google.com [IPv6:2607:f8b0:4001:c02::23f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 5716B2C00AF for ; Fri, 3 May 2013 16:35:24 +1000 (EST) Received: by mail-ia0-f191.google.com with SMTP id e36sf362550iag.18 for ; Thu, 02 May 2013 23:35:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=x-received:mime-version:x-beenthere:x-received:received-spf :x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:x-google-group-id :list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe:content-type; bh=2+Ar/WzK9heLAd9sz38vRqxkooYpPgr5eBjbq1ydnWw=; b=DAhfSbLmQVSTjJs5uWDP4YOY+td/T08CRW/0abdz+RdolNiW5NGxrqNLXpP+fmdkSG r55Tv+P6Au6I/bHYRF5nrqnKT/HqxhzIoPccCskqzRIiI7PQzuqNXyYrAtTHh6Kr/tAv JKgwbSWlBLBj5PQ9zU7oKDT9t8ncj/+xcOZIl4rdUmr/UMc/hAa8Yx5w7NCZTfi8KyoS WZg5gQpC3cTupZ+JiFFCWkbbchsEti6UHVxWna+kmZz+d0UP6tMLcydvVtrCQR1gXIxy 4+04GfsstNcLrxo7TE0F1Uqueje36l9W56miP5qFoB6TfsGg4LrXjwt51Wf+oPrD1qmD e1nA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:x-beenthere:x-received:received-spf :x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references:x-gm-message-state:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-google-group-id:list-post:list-help:list-archive:sender :list-subscribe:list-unsubscribe:content-type; bh=2+Ar/WzK9heLAd9sz38vRqxkooYpPgr5eBjbq1ydnWw=; b=YKjsrecyqIt7LSmVBS6lW9bdWLBxx0yI3CmtySfxF1IxIePX/JbV97bK3CKXOLp0e9 ILNDsqqYbyXfbPk9zKrWr54eLFlhFdkLOYpJu1q/7ttTbQysdDNBF7ksjzLT9h/VW5wZ 87AdFjqgZGRayO8mqQocLoUIOcqs8MD4mydONhMBITU1ZnBJOlWbFQn2jb0pxGjOzYMk bp65Y3vLofYb/42XcUGrvKAOmYMn5FYLEaHDk3Q6AmlrOxz5kz20ySLkkT0RNPpf5Ur0 FmPYXOhs8EIzIBQdF2oMrT5yQqZM0n4tuNSi97xzHPede//+4SenullewP79RPBVqB6/ 6jAA== X-Received: by 10.50.164.200 with SMTP id ys8mr114692igb.1.1367562922283; Thu, 02 May 2013 23:35:22 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.50.33.70 with SMTP id p6ls219706igi.44.canary; Thu, 02 May 2013 23:35:22 -0700 (PDT) X-Received: by 10.66.67.37 with SMTP id k5mr3839997pat.22.1367562921998; Thu, 02 May 2013 23:35:21 -0700 (PDT) Received: from mail-pb0-x22f.google.com (mail-pb0-x22f.google.com [2607:f8b0:400e:c01::22f]) by gmr-mx.google.com with ESMTPS id gi6si1699509pbc.2.2013.05.02.23.35.21 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 02 May 2013 23:35:21 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400e:c01::22f is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=2607:f8b0:400e:c01::22f; Received: by mail-pb0-f47.google.com with SMTP id uo1so745053pbc.34 for ; Thu, 02 May 2013 23:35:21 -0700 (PDT) X-Received: by 10.66.249.195 with SMTP id yw3mr13248612pac.12.1367562921913; Thu, 02 May 2013 23:35:21 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id kr7sm11485494pab.23.2013.05.02.23.35.19 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 02 May 2013 23:35:21 -0700 (PDT) From: Sachin Kamat To: rtc-linux@googlegroups.com Cc: a.zummo@towertech.it, akpm@linux-foundation.org, sachin.kamat@linaro.org Subject: [rtc-linux] [PATCH 24/26] drivers/rtc/rtc-v3020.c: Fix spacing issues Date: Fri, 3 May 2013 11:51:14 +0530 Message-Id: <1367562076-25713-25-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1367562076-25713-1-git-send-email-sachin.kamat@linaro.org> References: <1367562076-25713-1-git-send-email-sachin.kamat@linaro.org> X-Gm-Message-State: ALoCoQllcEprtRgc0vQxCkTSKdB1jarHchNt3sIZKypyR1VlkPp9pUVR6iob1MxXGn1pPsgpUuv0 X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 2607:f8b0:400e:c01::22f is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) smtp.mail=sachin.kamat@linaro.org Reply-To: rtc-linux@googlegroups.com Precedence: list Mailing-list: list rtc-linux@googlegroups.com; contact rtc-linux+owners@googlegroups.com List-ID: X-Google-Group-Id: 712029733259 List-Post: , List-Help: , List-Archive: Sender: rtc-linux@googlegroups.com List-Subscribe: , List-Unsubscribe: , Fixes the following type of issues: WARNING: please, no space before tabs Signed-off-by: Sachin Kamat --- drivers/rtc/rtc-v3020.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/rtc/rtc-v3020.c b/drivers/rtc/rtc-v3020.c index 97ec2cb..8824e0d 100644 --- a/drivers/rtc/rtc-v3020.c +++ b/drivers/rtc/rtc-v3020.c @@ -16,7 +16,7 @@ * - Use the generic rtc class * * ??-???-2004: Someone at Compulab - * - Initial driver creation. + * - Initial driver creation. * */ #include @@ -265,13 +265,13 @@ static int v3020_set_time(struct device *dev, struct rtc_time *dt) dev_dbg(dev, "tm_year: %i\n", dt->tm_year); /* Write all the values to ram... */ - v3020_set_reg(chip, V3020_SECONDS, bin2bcd(dt->tm_sec)); - v3020_set_reg(chip, V3020_MINUTES, bin2bcd(dt->tm_min)); - v3020_set_reg(chip, V3020_HOURS, bin2bcd(dt->tm_hour)); + v3020_set_reg(chip, V3020_SECONDS, bin2bcd(dt->tm_sec)); + v3020_set_reg(chip, V3020_MINUTES, bin2bcd(dt->tm_min)); + v3020_set_reg(chip, V3020_HOURS, bin2bcd(dt->tm_hour)); v3020_set_reg(chip, V3020_MONTH_DAY, bin2bcd(dt->tm_mday)); - v3020_set_reg(chip, V3020_MONTH, bin2bcd(dt->tm_mon + 1)); - v3020_set_reg(chip, V3020_WEEK_DAY, bin2bcd(dt->tm_wday)); - v3020_set_reg(chip, V3020_YEAR, bin2bcd(dt->tm_year % 100)); + v3020_set_reg(chip, V3020_MONTH, bin2bcd(dt->tm_mon + 1)); + v3020_set_reg(chip, V3020_WEEK_DAY, bin2bcd(dt->tm_wday)); + v3020_set_reg(chip, V3020_YEAR, bin2bcd(dt->tm_year % 100)); /* ...and set the clock. */ v3020_set_reg(chip, V3020_CMD_RAM2CLOCK, 0);