Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1398013pxk; Fri, 4 Sep 2020 08:25:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxHtpDg5Y0JxXPVYTjfsNjWOf3Uo0TZ+91GBCQQJdCDr71paCRtbh0W3WtR8KTxDVZCuzBO X-Received: by 2002:a17:906:a3d0:: with SMTP id ca16mr7772824ejb.455.1599233132506; Fri, 04 Sep 2020 08:25:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599233132; cv=none; d=google.com; s=arc-20160816; b=IPUs0JY454QyJejH1qFHapkStgKeNOdQhUuJE6AvxLRygDnTELg6r0Xtak5P2Eziwx nZ0SbHSPzzybgJuY4rg1pgPkvkJwhZ9Yb0lJiYa4nWPIwk02a3AQX9lkdTl6yCDpvie8 qciszt6bhcqpvnLXvrqwPj8xXkhCW/IZUQsaqzhrGWbK+5syfZYIOgM6e8h9jaA0rSMX nMV6OFJKZCAyBUGJyw9dtX1AnCQ0daNlciPYi4RvrRJfvrPfnCbWHenGoEj0Wk32homL jHxyz4xZdMEOQ2mtKSyHDcW52K6fc8RF8Bk60Jde1ulFgwD/DWuXJEK412RujdR3tJ3t dliw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=41Qpf9U4SrfFhPD50QAUNJfCt0M/GeyQmwAlMT5vSWE=; b=kt8Y9a7VNBG3oeUugY2BDwLaOsYvmWo5KaT5Bkr2TvmQup+HqBZ3/fsAZodlGwsALC 2wRtBhKmhk5GXg86t2ZqZxVk9tBL1R7Hc/hLIsX5M2aeTnO0GAWYHhkJ2MnivInTlf93 XXXJHX6pJmQqtlufGBLl0FJT/JZgoSMJz8/2A0CVklwYrhTDRjycvaUZ4PDeUbDmjtca efU3dJXtPy13j2c11h/6Z4VND8cLh5bWgEbL1oQnpXT2fwlAdesYHFLs8/NeWKSfsBLH I8MTztSVEY17ShOUTDNvO+RT6TI2TTIiC6TF3Y1b2KZmrqcm9W1bbegWJE6S4vfy7sui e5Vw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=okftafqQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m1si4630345ejj.381.2020.09.04.08.25.08; Fri, 04 Sep 2020 08:25:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=okftafqQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730900AbgIDPWg (ORCPT + 99 others); Fri, 4 Sep 2020 11:22:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40006 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730388AbgIDPV1 (ORCPT ); Fri, 4 Sep 2020 11:21:27 -0400 Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CAE6AC061244 for ; Fri, 4 Sep 2020 08:21:26 -0700 (PDT) Received: by mail-wr1-x444.google.com with SMTP id m6so7165167wrn.0 for ; Fri, 04 Sep 2020 08:21:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=41Qpf9U4SrfFhPD50QAUNJfCt0M/GeyQmwAlMT5vSWE=; b=okftafqQMXRcABXmeAaH6FT2kjmQmoEkLdsZzFvtoSabJBIq8tnlJyNt0w2/SXtbU1 zAZp7mGzAYrjSdO6SpoR0EOKo7dBNtI0J/uXB8IduamXjqWUxfFbh1LA3ErY/1Ew4Mop nvhl3J0132Zttgkx1B0FeE589baLLNUCv5Wd0S5qewpEVxrqxzlK+RnGqeoKCAjpqz1m LhOVA1SvB0EcbOFAT+vQ2hsm4F9pjWgCe2U/6oC4gpv4Rs2Ueds/YgahqfoOTqLw0ZyX hCyhwNRWemvdVtTZzemwtN7U2y39fbhD+tEoKKvgtlKtEVkYX3EACXxV2H15MzOb60c8 4fTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=41Qpf9U4SrfFhPD50QAUNJfCt0M/GeyQmwAlMT5vSWE=; b=tmQ8hzCw7OAmEEwIN4StxK83/xB543IF/zkcP9Hf4uGpIFWgN2wdB/km6IP9sdn/8v s5YdwmCFxjqRzw0e3ToYvJ1XrJwiR2lbv5yWD/MnfxD1QuS7sGQwrkwHKrmpopLgOxFO a26aC2hZISoep1iQ7jaoOdBR+bAXmFequB122cbYtMdUVpYF27R7OSbJDvAYX+WZGycD Q9uWwuYhmXLXGpSy/4KFEL3Ou1kz5JLlc8dRmFoMss/FpO5WdwIRtB9Y3LFoUCYMRb4L EZeIQwxy5dIb7gUI26n6KNvp8Wy2653P9sl3rDAy+ZVmVBY9JaXiF1xqSZyaHOD5tcyl Pj2Q== X-Gm-Message-State: AOAM533jHMHmadDn9+UykBwP52KKgiQaDiy7yRXHEn+2khw9Gf9L1y9j cb7XvSSMP+trO/AZiLnce8MqQg== X-Received: by 2002:adf:81c6:: with SMTP id 64mr7867716wra.176.1599232885571; Fri, 04 Sep 2020 08:21:25 -0700 (PDT) Received: from debian-brgl.home (lfbn-nic-1-68-20.w2-15.abo.wanadoo.fr. [2.15.159.20]) by smtp.gmail.com with ESMTPSA id a11sm7789534wmm.18.2020.09.04.08.21.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Sep 2020 08:21:25 -0700 (PDT) From: Bartosz Golaszewski To: Alessandro Zummo , Alexandre Belloni Cc: linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH 3/8] rtc: rx8010: use tabs for instead of spaces for code formatting Date: Fri, 4 Sep 2020 17:21:11 +0200 Message-Id: <20200904152116.2157-4-brgl@bgdev.pl> X-Mailer: git-send-email 2.26.1 In-Reply-To: <20200904152116.2157-1-brgl@bgdev.pl> References: <20200904152116.2157-1-brgl@bgdev.pl> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bartosz Golaszewski The define values in this driver are close to their names and they are separated by spaces. Use tabs instead and align all defines. Signed-off-by: Bartosz Golaszewski --- drivers/rtc/rtc-rx8010.c | 58 ++++++++++++++++++++-------------------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/drivers/rtc/rtc-rx8010.c b/drivers/rtc/rtc-rx8010.c index 4c790d33f589..2038700a3e8e 100644 --- a/drivers/rtc/rtc-rx8010.c +++ b/drivers/rtc/rtc-rx8010.c @@ -13,40 +13,40 @@ #include #include -#define RX8010_SEC 0x10 -#define RX8010_MIN 0x11 -#define RX8010_HOUR 0x12 -#define RX8010_WDAY 0x13 -#define RX8010_MDAY 0x14 -#define RX8010_MONTH 0x15 -#define RX8010_YEAR 0x16 -#define RX8010_RESV17 0x17 -#define RX8010_ALMIN 0x18 -#define RX8010_ALHOUR 0x19 -#define RX8010_ALWDAY 0x1A -#define RX8010_TCOUNT0 0x1B -#define RX8010_TCOUNT1 0x1C -#define RX8010_EXT 0x1D -#define RX8010_FLAG 0x1E -#define RX8010_CTRL 0x1F +#define RX8010_SEC 0x10 +#define RX8010_MIN 0x11 +#define RX8010_HOUR 0x12 +#define RX8010_WDAY 0x13 +#define RX8010_MDAY 0x14 +#define RX8010_MONTH 0x15 +#define RX8010_YEAR 0x16 +#define RX8010_RESV17 0x17 +#define RX8010_ALMIN 0x18 +#define RX8010_ALHOUR 0x19 +#define RX8010_ALWDAY 0x1A +#define RX8010_TCOUNT0 0x1B +#define RX8010_TCOUNT1 0x1C +#define RX8010_EXT 0x1D +#define RX8010_FLAG 0x1E +#define RX8010_CTRL 0x1F /* 0x20 to 0x2F are user registers */ -#define RX8010_RESV30 0x30 -#define RX8010_RESV31 0x31 -#define RX8010_IRQ 0x32 +#define RX8010_RESV30 0x30 +#define RX8010_RESV31 0x31 +#define RX8010_IRQ 0x32 -#define RX8010_EXT_WADA BIT(3) +#define RX8010_EXT_WADA BIT(3) -#define RX8010_FLAG_VLF BIT(1) -#define RX8010_FLAG_AF BIT(3) -#define RX8010_FLAG_TF BIT(4) -#define RX8010_FLAG_UF BIT(5) +#define RX8010_FLAG_VLF BIT(1) +#define RX8010_FLAG_AF BIT(3) +#define RX8010_FLAG_TF BIT(4) +#define RX8010_FLAG_UF BIT(5) -#define RX8010_CTRL_AIE BIT(3) -#define RX8010_CTRL_UIE BIT(5) -#define RX8010_CTRL_STOP BIT(6) -#define RX8010_CTRL_TEST BIT(7) +#define RX8010_CTRL_AIE BIT(3) +#define RX8010_CTRL_UIE BIT(5) +#define RX8010_CTRL_STOP BIT(6) +#define RX8010_CTRL_TEST BIT(7) -#define RX8010_ALARM_AE BIT(7) +#define RX8010_ALARM_AE BIT(7) static const struct i2c_device_id rx8010_id[] = { { "rx8010", 0 }, -- 2.26.1