From patchwork Mon Dec 19 19:44:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hugo Villeneuve X-Patchwork-Id: 1717560 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2620:137:e000::1:20; helo=out1.vger.email; envelope-from=linux-rtc-owner@vger.kernel.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=hugovil.com header.i=@hugovil.com header.a=rsa-sha256 header.s=x header.b=m45gpvBj; dkim-atps=neutral Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by legolas.ozlabs.org (Postfix) with ESMTP id 4NbVXL0DZmz23dC for ; Tue, 20 Dec 2022 06:44:34 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231862AbiLSTob (ORCPT ); Mon, 19 Dec 2022 14:44:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33170 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229712AbiLSToa (ORCPT ); Mon, 19 Dec 2022 14:44:30 -0500 Received: from mail.hugovil.com (mail.hugovil.com [162.243.120.170]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6020E13E8D; Mon, 19 Dec 2022 11:44:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=hugovil.com ; s=x; h=Subject:Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Cc:To :From:Sender:Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post: List-Owner:List-Archive; bh=7zNUlwRGVeRSO6ECgqMo4BLkea2lNsMWkxpMJDHoZ9M=; b=m 45gpvBjHUgPCSbwR82BiF7EwTNmwzyejLooW0LNMWJXNptoa1n6cC1njiBjcUhhgFbO1FHilL2gtV uvfRKd+l0/eDNMxPEDe71BkwSNa+k7kjTJE3HKKrVH8FaREiZw8vsQ5R0NQMLSNey+BcctP2F9ziA rjYzi82OKjD2L+oA=; Received: from modemcable168.174-80-70.mc.videotron.ca ([70.80.174.168]:48618 helo=pettiford.lan) by mail.hugovil.com with esmtpa (Exim 4.92) (envelope-from ) id 1p7M3m-0004Cr-La; Mon, 19 Dec 2022 14:44:27 -0500 From: Hugo Villeneuve To: Alessandro Zummo , Alexandre Belloni Cc: hugo@hugovil.com, Hugo Villeneuve , linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org Date: Mon, 19 Dec 2022 14:44:22 -0500 Message-Id: <20221219194422.3818050-1-hugo@hugovil.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 70.80.174.168 X-SA-Exim-Mail-From: hugo@hugovil.com X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 Subject: [PATCH] rtc: lp8788: Fix typo in comment X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on mail.hugovil.com) Precedence: bulk List-ID: X-Mailing-List: linux-rtc@vger.kernel.org From: Hugo Villeneuve Add missing "if" in comment. Signed-off-by: Hugo Villeneuve --- drivers/rtc/rtc-lp8788.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) base-commit: e88f319a2546fd7772c726bf3a82a23b0859ddeb diff --git a/drivers/rtc/rtc-lp8788.c b/drivers/rtc/rtc-lp8788.c index c0b8fbce1082..3aa5d980e596 100644 --- a/drivers/rtc/rtc-lp8788.c +++ b/drivers/rtc/rtc-lp8788.c @@ -262,7 +262,7 @@ static int lp8788_alarm_irq_register(struct platform_device *pdev, rtc->irq = 0; - /* even the alarm IRQ number is not specified, rtc time should work */ + /* even if the alarm IRQ number is not specified, rtc time should work */ r = platform_get_resource_byname(pdev, IORESOURCE_IRQ, LP8788_ALM_IRQ); if (!r) return 0;