From patchwork Fri May 3 06:20:55 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 241181 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-qe0-f61.google.com (mail-qe0-f61.google.com [209.85.128.61]) (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 818222C00A4 for ; Fri, 3 May 2013 16:34:31 +1000 (EST) Received: by mail-qe0-f61.google.com with SMTP id k5sf379418qej.6 for ; Thu, 02 May 2013 23:34:28 -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=+YlLohPj37fFVaZ6LNuGIYGn1TNV2xu9RxjEBy4ddh8=; b=nccBWWclWFDnKZeMEPDrf121hiPT2W6Q6KecWov19vDENk+shiYmxivavqzcB94V7Y unh1boMe0FFdb/HEOMscRGrglL2PQPBvvxyXLjVq2zmYlYcI44DEgjkhnCGWNjjvfyxd lTSdtq/9wSgtrZcgjqiqiUJVU8UZXzwqSEJelDVt1UrOihOWqe2MLLrKZlvcvQbxPALS jr9kL7CtCTMPWlD/ubjgkRhCCkOxecxSigFNq+fUzu2AF9gc99iNlM1cz+TokN2/GTbR xCyW0NK4wWIru3nrrFNPnCpm1E4lr04psdlIRjWeFDNdMCoUtXxXyUS3+ydsCj3Z0P0s XH4Q== 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=+YlLohPj37fFVaZ6LNuGIYGn1TNV2xu9RxjEBy4ddh8=; b=b/hfH+zGCdYkajcqCAodHiVALnaTrnEed9gkIG++1xtCGA4Gx1M3PDrTBMmmKDIpv4 FkMAD36w6sZhz+6wTRB/niAqWU5gxsuodoSWju/MWv2iPnTcgu2UidKvSJV2qv+5D7sU eKQOxCsApwodTCLQhkB0b4PExwLlZ2Kxlkeyq/gSrPvUpqv7Vr6pojxcE8k+S+QRJnQV fBvOus+DWPaLp5R3XFIYe40Dw4l/5olS/840Ono/CzS+ponsiP6wvkSuBoMEXGLRxJQc YtlewmGUb2c/kb9my2TAP7ayf8YYQIlb7FZ1Fak87Qw8V3G1F9+2t2oXQ10y1P4qXRKs NxlA== X-Received: by 10.50.27.4 with SMTP id p4mr1414257igg.3.1367562868732; Thu, 02 May 2013 23:34:28 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.50.27.70 with SMTP id r6ls219685igg.14.canary; Thu, 02 May 2013 23:34:28 -0700 (PDT) X-Received: by 10.66.227.72 with SMTP id ry8mr4087503pac.30.1367562868121; Thu, 02 May 2013 23:34:28 -0700 (PDT) Received: from mail-pb0-x229.google.com (mail-pb0-x229.google.com [2607:f8b0:400e:c01::229]) by gmr-mx.google.com with ESMTPS id qo12si1702010pbb.1.2013.05.02.23.34.28 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 02 May 2013 23:34:28 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400e:c01::229 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=2607:f8b0:400e:c01::229; Received: by mail-pb0-f41.google.com with SMTP id mc17so751670pbc.14 for ; Thu, 02 May 2013 23:34:28 -0700 (PDT) X-Received: by 10.66.8.69 with SMTP id p5mr13306011paa.57.1367562868016; Thu, 02 May 2013 23:34:28 -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.25 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 02 May 2013 23:34:27 -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 05/26] drivers/rtc/rtc-cmos.c: Fix whitespace related errors Date: Fri, 3 May 2013 11:50:55 +0530 Message-Id: <1367562076-25713-6-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: ALoCoQnvoQl7ETa5xw4WmgJERz4VJkNKPDPYRC3QxcssROIiaVLGFxZJt2d2CgVlWQ/DeHjjuUXK X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 2607:f8b0:400e:c01::229 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: space required after that ',' (ctx:VxV) WARNING: please, no spaces at the start of a line Signed-off-by: Sachin Kamat --- drivers/rtc/rtc-cmos.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/rtc/rtc-cmos.c b/drivers/rtc/rtc-cmos.c index cc5bea9..60b6fd4 100644 --- a/drivers/rtc/rtc-cmos.c +++ b/drivers/rtc/rtc-cmos.c @@ -326,7 +326,7 @@ static void cmos_irq_disable(struct cmos_rtc *cmos, unsigned char mask) static int cmos_set_alarm(struct device *dev, struct rtc_wkalrm *t) { struct cmos_rtc *cmos = dev_get_drvdata(dev); - unsigned char mon, mday, hrs, min, sec, rtc_control; + unsigned char mon, mday, hrs, min, sec, rtc_control; if (!is_valid_irq(cmos->irq)) return -EIO; @@ -691,7 +691,7 @@ cmos_do_probe(struct device *dev, struct resource *ports, int rtc_irq) /* FIXME: * doesn't know 12-hour mode either. */ - if (is_valid_irq(rtc_irq) && !(rtc_control & RTC_24H)) { + if (is_valid_irq(rtc_irq) && !(rtc_control & RTC_24H)) { dev_warn(dev, "only 24-hr supported\n"); retval = -ENXIO; goto cleanup1; @@ -989,7 +989,7 @@ static int cmos_pnp_probe(struct pnp_dev *pnp, const struct pnp_device_id *id) { cmos_wake_setup(&pnp->dev); - if (pnp_port_start(pnp,0) == 0x70 && !pnp_irq_valid(pnp,0)) + if (pnp_port_start(pnp, 0) == 0x70 && !pnp_irq_valid(pnp, 0)) /* Some machines contain a PNP entry for the RTC, but * don't define the IRQ. It should always be safe to * hardcode it in these cases