From patchwork Mon Nov 9 10:06:40 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 56197 Delivered-To: patch@linaro.org Received: by 10.112.155.196 with SMTP id vy4csp90687lbb; Mon, 9 Nov 2015 02:07:28 -0800 (PST) X-Received: by 10.66.228.137 with SMTP id si9mr38060143pac.63.1447063648342; Mon, 09 Nov 2015 02:07:28 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id gr2si21462873pbc.174.2015.11.09.02.07.28; Mon, 09 Nov 2015 02:07:28 -0800 (PST) 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; dkim=neutral (body hash did not verify) header.i=@linaro_org.20150623.gappssmtp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752816AbbKIKHV (ORCPT + 28 others); Mon, 9 Nov 2015 05:07:21 -0500 Received: from mail-wm0-f53.google.com ([74.125.82.53]:37853 "EHLO mail-wm0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751211AbbKIKHP (ORCPT ); Mon, 9 Nov 2015 05:07:15 -0500 Received: by wmww144 with SMTP id w144so25935747wmw.0 for ; Mon, 09 Nov 2015 02:07:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro_org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=rSjnPFGTWHz6WXcwBxH88NfaHaFDi7NyZiyIgPjqFhY=; b=z4BtEclBQzCd8XBXE7TSQ0GbE6MHnZ7TdAOOoEL46oeU/8BuiQ7UDtKrFA19K+QGFD qpJkjPOZSmrksM59LC56O/lrf9QHIv08Rt2h5kdbn8P7wA+b56uDYJCiOfBvYvpRc0Aa 0IQEvKxziItdgHJGUuaqx5FPG9yzzofWbEPktTMeQ1vI5aKCSQG/JiDhW9WjbdEmd4Zs atKb0mmKNrZYDO4FN8h+fGb2eTN9d1MLEx352+aTnWGgXeMLW6lcPzTWXPBmQhrJ4u8N nTEOgcFWOTPPzbuPOyMk0nS7efw/yjo+u/d9bte4SDnK8c5DSuhwOL45xftwt2BC3HlX JcRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=rSjnPFGTWHz6WXcwBxH88NfaHaFDi7NyZiyIgPjqFhY=; b=luZlacyDmfMBobZBaswo7ao/hyABsEAdVySg40iAWTe4WHqgENei4Sh+qXZToX5Al+ 46cdWH2sKhs9KdtdLS/5K6BilQwy/ikQnm0uUuZC/U4wfJMb3EzfQenfiFzXdIADI+c5 d7jB8tpdgx3KDT3wZTbwu2mKQi/5cSkxgGTtSQ57FWKIrdFVFMiFawaCZD7WEfzzjePq C4zxSouZ+wdlYS5Rxq7/whd4OFxc4af+84hQ6EuycrK0jB4SQ4ughKQtTSkBg6qFczfH uzqTgJFTcgHJMMNZiwZ4re7KzJFqXp1XOAofxMjwG/FabAJaCl2B1IXx3OOVD8fUzW23 h/wA== X-Gm-Message-State: ALoCoQmhfWOwLq2j12EnoE7Eo9YWJaXQCz05i5gaYJbSkjI+q3f88eW2/30u5JXwyta4HfGscWyt X-Received: by 10.28.6.1 with SMTP id 1mr26252332wmg.87.1447063633903; Mon, 09 Nov 2015 02:07:13 -0800 (PST) Received: from localhost.localdomain (sju31-1-78-210-255-2.fbx.proxad.net. [78.210.255.2]) by smtp.gmail.com with ESMTPSA id t126sm13384201wmd.23.2015.11.09.02.07.12 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 09 Nov 2015 02:07:13 -0800 (PST) From: Daniel Lezcano To: daniel.lezcano@linaro.org Cc: ysato@users.sourceforge.jp, tglx@linutronix.de, linux-kernel@vger.kernel.org, uclinux-h8-devel@lists.sourceforge.jp (moderated list:H8/300 ARCHITECTURE) Subject: [PATCH 02/15] clocksource/drivers/h8300_tpu: Remove unused macros Date: Mon, 9 Nov 2015 11:06:40 +0100 Message-Id: <1447063614-4662-2-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1447063614-4662-1-git-send-email-daniel.lezcano@linaro.org> References: <1447063614-4662-1-git-send-email-daniel.lezcano@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Some macros are unused, delete them. Signed-off-by: Daniel Lezcano --- drivers/clocksource/h8300_tpu.c | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ diff --git a/drivers/clocksource/h8300_tpu.c b/drivers/clocksource/h8300_tpu.c index ed0b493..576dae6 100644 --- a/drivers/clocksource/h8300_tpu.c +++ b/drivers/clocksource/h8300_tpu.c @@ -20,16 +20,9 @@ #include #include -#define TCR 0 -#define TMDR 1 -#define TIOR 2 -#define TER 4 -#define TSR 5 -#define TCNT 6 -#define TGRA 8 -#define TGRB 10 -#define TGRC 12 -#define TGRD 14 +#define TCR 0x0 +#define TSR 0x5 +#define TCNT 0x6 struct tpu_priv { struct clocksource cs;