Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3338464rwb; Tue, 16 Aug 2022 00:38:13 -0700 (PDT) X-Google-Smtp-Source: AA6agR5P3pnNCkurbpkuwPa8587F7ms2I0ZWVKWrVFgFmJzKqum/ChACWTzl0mdVqUGgPnZUPxOX X-Received: by 2002:a17:907:3e01:b0:730:a690:a211 with SMTP id hp1-20020a1709073e0100b00730a690a211mr12665975ejc.596.1660635493135; Tue, 16 Aug 2022 00:38:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660635493; cv=none; d=google.com; s=arc-20160816; b=enRFasWu6ulna8uR7qdAdoOYQEN+ZSDfw694MSe5wfB1dqagj4yO8hONcyVuDYjcYE E4QQVq4d3c5wvTtJ8M3gRbDZyc2IulxL+A8vH54ZF32H/8wZwGz3uyFfJLqWcKz9ZqfS YK9LUeAv2xXq6x/AXd76632y5zpEtz2Shb0zE8qWee/n8M0MnmKZjlKfY/k2F9YH/Was 9UhX2ixY2vMiChnmsT8S0TMoW4b0omlFhq7pP74e6TLOs7u+9rZGfxw/vwNj+6HAjNGk adkDOZPt6gKMj3Q8emQodExxnR8y0r8l+1cXWlh/J1Dvr9fDt4nxh3SyHZ7x5eWhtsIS JW/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=qLSttsMwGgFXnsk5NhFWTdXd+2tQbLUyp0NNDCVHH9A=; b=elepKC2P0vIcWE0RDuwibknAoFv5JleXwe6mI2sdjKTsIgqB6bQuiCftJZ1syz5Qzw ZWKOepIx/CiqVriYPUsg2RwxFm6dcfQ68t8fmpoCNRqmq95ElH/VBFXEqqdA8m8/Wfja eVcCge3XxOXbimeSVWM7RLhBBNQyc3ib+EHZA/+mmCqkrsDlpSs/FxgAEIKnzvBVWnv/ TLw1oQa0ZCa+ZK0rHziGA1MZA4oZEbrmulHYm7ixEjpZRIzJho3iVJDk41BPymOabmof niyG3wt4UtBlXalgExn97GmD4bfhBx7mRsSdl4qd/EDW+mSMsrUOtehPG+1yLBeqpOt+ BB7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=SZQdxn0L; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fj3-20020a1709069c8300b00730c3a98892si11601771ejc.978.2022.08.16.00.37.46; Tue, 16 Aug 2022 00:38:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=SZQdxn0L; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232008AbiHPH1Y (ORCPT + 99 others); Tue, 16 Aug 2022 03:27:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231844AbiHPH0z (ORCPT ); Tue, 16 Aug 2022 03:26:55 -0400 Received: from mail-pl1-x62e.google.com (mail-pl1-x62e.google.com [IPv6:2607:f8b0:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 17BA817DDB8; Mon, 15 Aug 2022 20:56:48 -0700 (PDT) Received: by mail-pl1-x62e.google.com with SMTP id d16so8087157pll.11; Mon, 15 Aug 2022 20:56:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:in-reply-to:message-id:date:subject:cc:to:from:from:to :cc; bh=qLSttsMwGgFXnsk5NhFWTdXd+2tQbLUyp0NNDCVHH9A=; b=SZQdxn0LRoB3Sm/BK6myvoUmneF2rPxNoNYW/qkudaijogCTBK8foe9e9swRxqm8am E2R0Q2dQ8sCFI/JHVrsKPlFPz/9U07gEMiKAkhodCIFqd1Y92AONNmo8g1eTQZQN5jWS 3/csoDncaFMVRbm4v10In1P48Eo5Kd2YL9uL3whrh18IpZtUfzi8qacl0HOHcAz/CPlP vIdjoRWY2Cvdiu1PFyPlzThZh9rjP1vgiQ0lg5QNvYGyf5u8Ac5BaooXNF4ZuPIzLgdW rJBDG3Eg4at3j9bz/ZSmHsNkng0dd2CDWXfEyYDbn/h15eckZHHq6vz/qnnpdUCV2ynb 1gbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=references:in-reply-to:message-id:date:subject:cc:to:from :x-gm-message-state:from:to:cc; bh=qLSttsMwGgFXnsk5NhFWTdXd+2tQbLUyp0NNDCVHH9A=; b=3Hx7BIkbboe2Vuo1BdnPHMeVta+Uj0plbPVDVN0JAeAQskpo1qlpWOJZOC9F4HB4My XBdlYxgohTsusAIYx8aFy3s+e7Oupj51pWVBuYJook72zZruD00iNp3FEFBeRYG9CeVr itcNVy4nrXP/tFANM3kgydELf7FCXgYXKgXKvaz4Dkib1lMNMryYWFIORhMyXqajtbbg rEVV3mTq/jjT/fHBEOmxAkWcUgLNv3duRrHHl7vS1ZV+MSELns9Ci6pdHxsjJJOPBa/H kpyOtCs8fEslZe1lrvhJ42Ga2zK9lyyxmf3mWtWgc0vcWSzad9yr7mJT+dmt7/eW58kc l86g== X-Gm-Message-State: ACgBeo0sa8p9J5nTQ1Z0BvmqMYOpMSWqgq1a0Dvo9EFEC/gDE3Cl8Vqm 8NaSeCJSn0OTpJmBqnYVano= X-Received: by 2002:a17:90b:4a0a:b0:1f4:e4fc:91d3 with SMTP id kk10-20020a17090b4a0a00b001f4e4fc91d3mr30956594pjb.67.1660622207573; Mon, 15 Aug 2022 20:56:47 -0700 (PDT) Received: from localhost.localdomain ([116.75.96.232]) by smtp.gmail.com with ESMTPSA id l13-20020a17090ac58d00b001f2fa09786asm5356846pjt.19.2022.08.15.20.56.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Aug 2022 20:56:47 -0700 (PDT) From: Jagath Jog J To: alexandre.belloni@bootlin.com, a.zummo@towertech.it Cc: linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org, jagathjog1996@gmail.com Subject: [PATCH 3/3] rtc: rv3028: Alignment to match the open parenthesis Date: Tue, 16 Aug 2022 09:26:36 +0530 Message-Id: <20220816035636.27226-4-jagathjog1996@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220816035636.27226-1-jagathjog1996@gmail.com> References: <20220816035636.27226-1-jagathjog1996@gmail.com> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix following checkpatch.pl check by adding space to match the open parenthesis and removing unwanted blank line. CHECK: Alignment should match open parenthesis. CHECK: Blank lines aren't necessary before a close brace '}'. Signed-off-by: Jagath Jog J --- drivers/rtc/rtc-rv3028.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/rtc/rtc-rv3028.c b/drivers/rtc/rtc-rv3028.c index f7c801c06d00..0da68fd7cedd 100644 --- a/drivers/rtc/rtc-rv3028.c +++ b/drivers/rtc/rtc-rv3028.c @@ -266,7 +266,7 @@ static irqreturn_t rv3028_handle_irq(int irq, void *dev_id) u32 status = 0, ctrl = 0; if (regmap_read(rv3028->regmap, RV3028_STATUS, &status) < 0 || - status == 0) { + status == 0) { return IRQ_NONE; } @@ -514,7 +514,6 @@ static int rv3028_set_offset(struct device *dev, long offset) rv3028_exit_eerd(rv3028, eerd); return ret; - } static int rv3028_param_get(struct device *dev, struct rtc_param *param) -- 2.17.1