Message ID | 1367562076-25713-16-git-send-email-sachin.kamat@linaro.org |
---|---|
State | Accepted |
Headers | show
Return-Path: <rtc-linux+bncBDM5LUP2XEPRBD5VRWGAKGQEZ65UDXI@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-da0-x240.google.com (mail-da0-x240.google.com [IPv6:2607:f8b0:400e:c00::240]) (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 6F1652C00AF for <incoming@patchwork.ozlabs.org>; Fri, 3 May 2013 16:34:58 +1000 (EST) Received: by mail-da0-f64.google.com with SMTP id n41sf379327dak.19 for <incoming@patchwork.ozlabs.org>; Thu, 02 May 2013 23:34:56 -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=YwaZmX6DqTn8Xk/XErfzUmAjZ9I/7waUG9wBGMxpdjk=; b=D+VqxxEe2TICLdRaDtUCllcR1hHwrbErUZCaMrTwyjIW0wJAUf7mdwnvgKvFrDYn4c 9wuqS8UfEbqFY4UqUw+UYRtW0F5bT5Q9OGVBDDqyHdkXlIoQ5YASX+pSOViUhqGiVLk4 YFJNTFqv9yIk8VcX+ATdDLw/pUI1T5kNOMrm3sdPnV5blOvepb8MdSbX2bVQtNsvJmFg D2QE9ld/llV65HOPB6O8dTMJhzYNL1yvrdVAtzKAD0v30fPxVI/g6lEVY51dDLdYMGrs IMfV4+qKYZJRpkbIZs5ZZW3N9Hfx8zQCHx+LslXhAGreJ+hQFesLOLjVQ5Jr+ve5IIil DgYQ== 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=YwaZmX6DqTn8Xk/XErfzUmAjZ9I/7waUG9wBGMxpdjk=; b=bX69U1YejYtWcMzTzwJuewJ9y64zb4/GA6rJJl25NDvnZ48vTBX4HCbJ7QOREtOQTw 4mQ3cWA/IZvP8XFD7HdN5nq69ZkN92iC3XHSrFxoUiZ0E2330LwhuU+41zc9cIHWKi47 ttyalo5LI8nJ4uLTiTdLRHYuTd98QH/UnXxT6BuroWfk/cVw1zCX4j8+p/WMBghcVTk9 He8IONI7LDdmCH/kA3NMMP806PItYvaeoiKl6skajrYiDVhW35owaQlojXmn3LOYvDbl WGhFRVRajdg5tXWkJCYXcfmO2VdyeopHQwKl5nwH/41KjBxmqrjEJHCremxjFiRtdUYb ZvUg== X-Received: by 10.50.28.81 with SMTP id z17mr1409793igg.13.1367562896517; Thu, 02 May 2013 23:34:56 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.50.130.37 with SMTP id ob5ls234769igb.2.canary; Thu, 02 May 2013 23:34:55 -0700 (PDT) X-Received: by 10.66.8.69 with SMTP id p5mr4044522paa.46.1367562895883; Thu, 02 May 2013 23:34:55 -0700 (PDT) Received: from mail-pd0-f174.google.com (mail-pd0-f174.google.com [209.85.192.174]) by gmr-mx.google.com with ESMTPS id xb6si1787671pab.0.2013.05.02.23.34.55 for <rtc-linux@googlegroups.com> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 02 May 2013 23:34:55 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.192.174 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.192.174; Received: by mail-pd0-f174.google.com with SMTP id u10so754692pdi.33 for <rtc-linux@googlegroups.com>; Thu, 02 May 2013 23:34:55 -0700 (PDT) X-Received: by 10.68.88.194 with SMTP id bi2mr12419040pbb.12.1367562895791; Thu, 02 May 2013 23:34:55 -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.53 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 02 May 2013 23:34:55 -0700 (PDT) From: Sachin Kamat <sachin.kamat@linaro.org> To: rtc-linux@googlegroups.com Cc: a.zummo@towertech.it, akpm@linux-foundation.org, sachin.kamat@linaro.org Subject: [rtc-linux] [PATCH 15/26] drivers/rtc/rtc-max8997.c: Remove space before semicolon Date: Fri, 3 May 2013 11:51:05 +0530 Message-Id: <1367562076-25713-16-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: ALoCoQlR9LZi5k8GbLD0sP5E5eNcLFklbVulhahlmtqdeIJ1d/Jle4cXFcO4CEjXFkSy0u5AZDnr X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 209.85.192.174 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: <rtc-linux.googlegroups.com> X-Google-Group-Id: 712029733259 List-Post: <http://groups.google.com/group/rtc-linux/post?hl=en_US>, <mailto:rtc-linux@googlegroups.com> List-Help: <http://groups.google.com/support/?hl=en_US>, <mailto:rtc-linux+help@googlegroups.com> List-Archive: <http://groups.google.com/group/rtc-linux?hl=en_US> Sender: rtc-linux@googlegroups.com List-Subscribe: <http://groups.google.com/group/rtc-linux/subscribe?hl=en_US>, <mailto:rtc-linux+subscribe@googlegroups.com> List-Unsubscribe: <http://groups.google.com/group/rtc-linux/subscribe?hl=en_US>, <mailto:googlegroups-manage+712029733259+unsubscribe@googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1 |
diff --git a/drivers/rtc/rtc-max8997.c b/drivers/rtc/rtc-max8997.c index dacf48d..1683904 100644 --- a/drivers/rtc/rtc-max8997.c +++ b/drivers/rtc/rtc-max8997.c @@ -104,7 +104,7 @@ static int max8997_rtc_tm_to_data(struct rtc_time *tm, u8 *data) data[RTC_WEEKDAY] = 1 << tm->tm_wday; data[RTC_DATE] = tm->tm_mday; data[RTC_MONTH] = tm->tm_mon + 1; - data[RTC_YEAR] = tm->tm_year > 100 ? (tm->tm_year - 100) : 0 ; + data[RTC_YEAR] = tm->tm_year > 100 ? (tm->tm_year - 100) : 0; if (tm->tm_year < 100) { pr_warn("%s: MAX8997 RTC cannot handle the year %d."
Fixes the following warning: WARNING: space prohibited before semicolon Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> --- drivers/rtc/rtc-max8997.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)