From patchwork Fri May 3 06:20:58 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 241184 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-da0-x23b.google.com (mail-da0-x23b.google.com [IPv6:2607:f8b0:400e:c00::23b]) (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 B932F2C00A4 for ; Fri, 3 May 2013 16:34:39 +1000 (EST) Received: by mail-da0-f59.google.com with SMTP id s35sf372301dak.4 for ; Thu, 02 May 2013 23:34:38 -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=xZiiLOwdVHotlu1KM2ZDhfl+p4754WQxBGOkI9epm20=; b=m8y47Q150e1/0wRAzDMXDbyU6JYzhZZsUMKgG6c3Hb4Bzw7/Q8jNt+E0Yg3IpRFeGB hhEurlJNMe8OybeDdhOV6aQfEQY8Rdu6uE6QCqA/1HBIOAzrJfL6zeEpOR3ETA1gVzyo Mwysw6YBEAb5UELUH123VTMmq25qDTXqXnTOfaxzg1P/0AdjsiNxgTidspre8ojFT+15 3O7vmnYMMptoMxFI/Rlu4MVqNuUxWBdoCGJpELSZjSo+tVHkNqiFb8pIKj0uq1YEvY8m 2n4U7CyAtROzT+TT4xDvlocfEEbEb0jQ6oVqf0WvuNvKNDBmohVGq72OQyqaMe79Oh/k oL3A== 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=xZiiLOwdVHotlu1KM2ZDhfl+p4754WQxBGOkI9epm20=; b=n2LAXSL6/8Kt/HROPT3xXmM/12w+PI8emPN4DeDmZVUczHkQnnk1PdbexOE/5tJiza 9x6n9JyMFQZq7Xy5rfZaC7HZDQ6RloSlePV/5W72s97Vvl2y2Jk0cbCTGqjEwlStvKIl ZPuMoRivFc1U+hwcis5RawobpYWJ9C/08cXNe2un1BUq7uyV90msGYAWPpgJW2coPs5I 0iOL8cN7xAg0N15die58ApgQ+znwXWcFij9aAdy3Be6EmpuCZIxPSg0XWpEnytwYS79/ y0ZiIe9HXJrQ7e4Ynti+0poDchOsZAD+QlwWbLkqcdMX+E+OtmitMSdQbzgsVMwEEpuZ tXaQ== X-Received: by 10.50.29.13 with SMTP id f13mr114334igh.0.1367562877836; Thu, 02 May 2013 23:34:37 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.50.22.178 with SMTP id e18ls206643igf.31.canary; Thu, 02 May 2013 23:34:37 -0700 (PDT) X-Received: by 10.66.168.14 with SMTP id zs14mr4110755pab.3.1367562877485; Thu, 02 May 2013 23:34:37 -0700 (PDT) Received: from mail-pd0-f173.google.com (mail-pd0-f173.google.com [209.85.192.173]) by gmr-mx.google.com with ESMTPS id gi6si1699676pbc.2.2013.05.02.23.34.37 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 02 May 2013 23:34:37 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.192.173 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.192.173; Received: by mail-pd0-f173.google.com with SMTP id v10so756987pde.18 for ; Thu, 02 May 2013 23:34:37 -0700 (PDT) X-Received: by 10.68.211.161 with SMTP id nd1mr12480836pbc.59.1367562877409; Thu, 02 May 2013 23:34:37 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id kr7sm11485494pab.23.2013.05.02.23.34.35 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 02 May 2013 23:34:36 -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 08/26] drivers/rtc/rtc-ds1374.c: Fix spacing related issues Date: Fri, 3 May 2013 11:50:58 +0530 Message-Id: <1367562076-25713-9-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: ALoCoQk63eoMst98kbi8tr9hGL1AGMObS4OCG7NlYpQNe9iw2sjHepKzwCuGzInJ9B+DIKHBoEWk X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 209.85.192.173 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 types of issues: ERROR: code indent should use tabs where possible WARNING: please, no spaces at the start of a line Signed-off-by: Sachin Kamat --- drivers/rtc/rtc-ds1374.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/rtc/rtc-ds1374.c b/drivers/rtc/rtc-ds1374.c index 94366e1..9e6e14f 100644 --- a/drivers/rtc/rtc-ds1374.c +++ b/drivers/rtc/rtc-ds1374.c @@ -65,7 +65,7 @@ struct ds1374 { static struct i2c_driver ds1374_driver; static int ds1374_read_rtc(struct i2c_client *client, u32 *time, - int reg, int nbytes) + int reg, int nbytes) { u8 buf[4]; int ret; @@ -90,7 +90,7 @@ static int ds1374_read_rtc(struct i2c_client *client, u32 *time, } static int ds1374_write_rtc(struct i2c_client *client, u32 time, - int reg, int nbytes) + int reg, int nbytes) { u8 buf[4]; int i; @@ -119,8 +119,7 @@ static int ds1374_check_rtc_status(struct i2c_client *client) if (stat & DS1374_REG_SR_OSF) dev_warn(&client->dev, - "oscillator discontinuity flagged, " - "time unreliable\n"); + "oscillator discontinuity flagged, time unreliable\n"); stat &= ~(DS1374_REG_SR_OSF | DS1374_REG_SR_AF); @@ -363,7 +362,7 @@ static int ds1374_probe(struct i2c_client *client, if (client->irq > 0) { ret = devm_request_irq(&client->dev, client->irq, ds1374_irq, 0, - "ds1374", client); + "ds1374", client); if (ret) { dev_err(&client->dev, "unable to request IRQ\n"); return ret; @@ -373,7 +372,7 @@ static int ds1374_probe(struct i2c_client *client, } ds1374->rtc = devm_rtc_device_register(&client->dev, client->name, - &ds1374_rtc_ops, THIS_MODULE); + &ds1374_rtc_ops, THIS_MODULE); if (IS_ERR(ds1374->rtc)) { dev_err(&client->dev, "unable to register the class device\n"); return PTR_ERR(ds1374->rtc);