From patchwork Mon Jun 20 13:55:53 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= X-Patchwork-Id: 637986 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-lf0-x23a.google.com (mail-lf0-x23a.google.com [IPv6:2a00:1450:4010:c07::23a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3rYC7V1JJBz9t0X for ; Mon, 20 Jun 2016 23:56:06 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.b=I6UJl0xw; dkim-atps=neutral Received: by mail-lf0-x23a.google.com with SMTP id l102sf15318302lfi.1 for ; Mon, 20 Jun 2016 06:56:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=88i1QB0P6dtJW4wdYQ7orRu0CZf+3ycNITl6wl2sx6k=; b=I6UJl0xw3p8iDO+lPJ464/l/70IGcYG+gI7reuALyjaxutgE15B3OUSsl1Sh3XuTbB czikUckfs18OxNVAnzO8QJzGN9cSpP4zCoCTeEhpqVz6Z8qXBvjRTtxZesgHfQbmeEGg /EPKCTKrxFpbYJhrdYEv8g4Z68DRdxUf8rpi7ZcnVnVm2sC2Ouh4t33WhVpV9MotaW8L TigJ63+8SuEZShBEC+RVTu8Iv3ANf6YqK8QfzJFFtkEMbUZ6NHcHzuHpWkNUSjSj0izv VIK1tQxF9MHUNUB12tD+qUVVEtvFHLXGwAjZ7C/K7o1cNVxtIOO3vzuf7wi3RvVbc64f +d5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=sender:x-gm-message-state:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=88i1QB0P6dtJW4wdYQ7orRu0CZf+3ycNITl6wl2sx6k=; b=S7ZZvv5nqoW3SKF0NEtDuLFw3pc2XBWy886AERgHXzMYwqoQwrWwK5w2W33jt52BLl 0j4928XVXNiUkYLp6e47ioUKEg/JMxXWYE1ZkMDxRRuTPIGqddySoKZgyMBdEonhVRfA +zFsJM5W+4MMM3obBTOBqbUN6QAqMM6vFGdHeHr2b1+Dgg3BMHYp9IOqNzkeobx8Pjlm 5klMqcjus/r6F74P2exxx4FaX/31GC34ClHTQnSwzjoKvJIsFEaEx9VBpFze0cJu1Wre dtD6pABF1rmVl44RcMvwy7s937BLv+E7ZtuULHzmn6kINfnQGUxsCvu+eok1uu0oMwJR aYQA== Sender: rtc-linux@googlegroups.com X-Gm-Message-State: ALyK8tJFdH7lB94X0z4S5fUaZ/yTwvHm6y7S8uIdo55B46tod6HpOmFPxZMiZdDSxAbk9g== X-Received: by 10.28.32.211 with SMTP id g202mr46940wmg.7.1466430963712; Mon, 20 Jun 2016 06:56:03 -0700 (PDT) X-BeenThere: rtc-linux@googlegroups.com Received: by 10.28.158.19 with SMTP id h19ls390869wme.49.gmail; Mon, 20 Jun 2016 06:56:03 -0700 (PDT) X-Received: by 10.28.199.207 with SMTP id x198mr1715038wmf.2.1466430963375; Mon, 20 Jun 2016 06:56:03 -0700 (PDT) Received: from arcturus.kleine-koenig.org (arcturus.kleine-koenig.org. [2a01:4f8:d12:1f44::2]) by gmr-mx.google.com with ESMTPS id f4si453028wmg.0.2016.06.20.06.56.03 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Jun 2016 06:56:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of uwe@kleine-koenig.org designates 2a01:4f8:d12:1f44::2 as permitted sender) client-ip=2a01:4f8:d12:1f44::2; Received: by arcturus.kleine-koenig.org (Postfix, from userid 1000) id 06979AC7EC; Mon, 20 Jun 2016 15:56:03 +0200 (CEST) From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= To: Alessandro Zummo , Alexandre Belloni Cc: rtc-linux@googlegroups.com, =?UTF-8?q?Manuel=20R=C3=B6der?= Subject: [rtc-linux] [PATCH 5/5] rtc: fix a typo and reduce three empty lines to one Date: Mon, 20 Jun 2016 15:55:53 +0200 Message-Id: <1466430953-18659-6-git-send-email-uwe@kleine-koenig.org> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1466430953-18659-1-git-send-email-uwe@kleine-koenig.org> References: <1466430953-18659-1-git-send-email-uwe@kleine-koenig.org> MIME-Version: 1.0 X-Original-Sender: uwe@kleine-koenig.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: best guess record for domain of uwe@kleine-koenig.org designates 2a01:4f8:d12:1f44::2 as permitted sender) smtp.mailfrom=uwe@kleine-koenig.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-Spam-Checked-In-Group: rtc-linux@googlegroups.com X-Google-Group-Id: 712029733259 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Signed-off-by: Uwe Kleine-König --- drivers/rtc/interface.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/rtc/interface.c b/drivers/rtc/interface.c index 99475908e556..c803364ad4ce 100644 --- a/drivers/rtc/interface.c +++ b/drivers/rtc/interface.c @@ -393,7 +393,7 @@ int rtc_initialize_alarm(struct rtc_device *rtc, struct rtc_wkalrm *alarm) rtc->aie_timer.node.expires = rtc_tm_to_ktime(alarm->time); rtc->aie_timer.period = ktime_set(0, 0); - /* Alarm has to be enabled & in the futrure for us to enqueue it */ + /* Alarm has to be enabled & in the future for us to enqueue it */ if (alarm->enabled && (rtc_tm_to_ktime(now).tv64 < rtc->aie_timer.node.expires.tv64)) { @@ -405,8 +405,6 @@ int rtc_initialize_alarm(struct rtc_device *rtc, struct rtc_wkalrm *alarm) } EXPORT_SYMBOL_GPL(rtc_initialize_alarm); - - int rtc_alarm_irq_enable(struct rtc_device *rtc, unsigned int enabled) { int err = mutex_lock_interruptible(&rtc->ops_lock);