Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp6006218ybe; Tue, 10 Sep 2019 12:03:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqx7yEbtpkdf3PQM8/XPuzPAaNjWbrIKurU4FAinT7iqhrbxJEumYKtzqb0VWlYRaz3Z+8ve X-Received: by 2002:a50:d552:: with SMTP id f18mr32964958edj.36.1568142231964; Tue, 10 Sep 2019 12:03:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568142231; cv=none; d=google.com; s=arc-20160816; b=a5ox0PNFAYzOjgTv8Xxe4A4h6tgrQpAPX+Pb4mKVPAQOzucdxbrLgPplVlrPsuF6DJ WoLIc3kwOTyAukToezOy5iGj/amIHhMP3suS3kXjaTYGwZnvEQWMuph1CcWBdH7CdwC3 VGswjiSklX4UxrRUTKQqTBx++iDESyuV5WjPNI8Su4d6PNj+NulJUHynkGnasQ8B0qW4 IVGO+3aurn5TZuAfrpPNOdRa3Y2ZgcA/dTNu6Wu/PZ465xD94AvSTafGWZm2a1Mwnexv uz4D+9B7wjtbJrLrVbYci8qup1pxnSitwiWShb4E5Xyftnj1e24Vjv7Tuor8Kgh52Ap6 5Lhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:ironport-sdr; bh=Y3dRSG40Sf6HLWl3rHZjnQwPomuRPOv/j5+SF08lqNs=; b=yV7mrj3nYgMgz1SEGoWwdUyDAdpdWm0s9wuUlIE2atp47METpPtuX5fJiCK4iUmmnQ A7gZKj4SRq4jZ04F9F3cMophAV2pa55PMjzU/DuAe+4e9o0HXN89sfwA/XWirFG2onWX 12yytUiwtziFbSQKNOnLyifw/dlt2xJxKy6tTPFSivORne2QHp5dH9nmh4k4WAgPNTIJ jlOshhc3bZ26poveGnNH1zlbYRb2pIIEYQdwPnrx7T+xI+7YYuydFGqAKlshkhjI6Rpz ylG0n1gozj1opzsSN79Y6HFKXMfCzImy/MRO3ViAWUTTiNHQPPXEfdY9kFigclVwJ45l fjGA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=microchip.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e20si10003070ejl.225.2019.09.10.12.03.27; Tue, 10 Sep 2019 12:03:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387445AbfIJNtC (ORCPT + 99 others); Tue, 10 Sep 2019 09:49:02 -0400 Received: from esa5.microchip.iphmx.com ([216.71.150.166]:48090 "EHLO esa5.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729173AbfIJNtB (ORCPT ); Tue, 10 Sep 2019 09:49:01 -0400 Received-SPF: Pass (esa5.microchip.iphmx.com: domain of Claudiu.Beznea@microchip.com designates 198.175.253.82 as permitted sender) identity=mailfrom; client-ip=198.175.253.82; receiver=esa5.microchip.iphmx.com; envelope-from="Claudiu.Beznea@microchip.com"; x-sender="Claudiu.Beznea@microchip.com"; x-conformance=spf_only; x-record-type="v=spf1"; x-record-text="v=spf1 mx a:ushub1.microchip.com a:smtpout.microchip.com a:mx1.microchip.iphmx.com a:mx2.microchip.iphmx.com include:servers.mcsv.net include:mktomail.com include:spf.protection.outlook.com ~all" Received-SPF: None (esa5.microchip.iphmx.com: no sender authenticity information available from domain of postmaster@email.microchip.com) identity=helo; client-ip=198.175.253.82; receiver=esa5.microchip.iphmx.com; envelope-from="Claudiu.Beznea@microchip.com"; x-sender="postmaster@email.microchip.com"; x-conformance=spf_only Authentication-Results: esa5.microchip.iphmx.com; dkim=none (message not signed) header.i=none; spf=Pass smtp.mailfrom=Claudiu.Beznea@microchip.com; spf=None smtp.helo=postmaster@email.microchip.com; dmarc=pass (p=none dis=none) d=microchip.com IronPort-SDR: MElAMnx6DZVg0Fxo1HADhYt/CKppFOarcOtVBiJiMKeqVnerD1EXIxGfHfSFctWJdco3XjLv78 xUkwH1JjmqvCa9jwOWHft9UhE4IXIlyPDEqRDe1OmIoHKpYSIJkLv0x17aUJyITNTyMRWpbodc lneFK/GmovYQEw7PxtjEpC6x3k055LWthXiCT2LjFHc4mhhZjgYC9JbHpDUcCEUuK6GlcFGY4v IB24qVrPtZXjzjhQigi2HVgLJL1r1E4yVKmsBEmm+UvKvhVt0qxPzmjS9H6KMJaeRjzAMwOHH2 jYg= X-IronPort-AV: E=Sophos;i="5.64,489,1559545200"; d="scan'208";a="46913719" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa5.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 10 Sep 2019 06:48:58 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 10 Sep 2019 06:48:58 -0700 Received: from m18063-ThinkPad-T460p.mchp-main.com (10.10.85.251) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.1713.5 via Frontend Transport; Tue, 10 Sep 2019 06:48:36 -0700 From: Claudiu Beznea To: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , CC: , , , , , , , , , , , , , , , , , , , "Claudiu Beznea" Subject: [PATCH 3/7] clocksource/timer_of: use BIT() macro Date: Tue, 10 Sep 2019 16:47:12 +0300 Message-ID: <1568123236-767-4-git-send-email-claudiu.beznea@microchip.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1568123236-767-1-git-send-email-claudiu.beznea@microchip.com> References: <1568123236-767-1-git-send-email-claudiu.beznea@microchip.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Use BIT() macro for timer_of flags. Signed-off-by: Claudiu Beznea --- drivers/clocksource/timer-of.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/clocksource/timer-of.h b/drivers/clocksource/timer-of.h index ee467bb16ca3..df861ea2ec42 100644 --- a/drivers/clocksource/timer-of.h +++ b/drivers/clocksource/timer-of.h @@ -4,9 +4,9 @@ #include -#define TIMER_OF_BASE 0x1 -#define TIMER_OF_CLOCK 0x2 -#define TIMER_OF_IRQ 0x4 +#define TIMER_OF_BASE BIT(0) +#define TIMER_OF_CLOCK BIT(1) +#define TIMER_OF_IRQ BIT(2) struct of_timer_irq { int irq; -- 2.7.4