From patchwork Sun Apr 2 14:50:33 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 9658515 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 018CE602F0 for ; Sun, 2 Apr 2017 14:50:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E2BC72842B for ; Sun, 2 Apr 2017 14:50:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D760B2845E; Sun, 2 Apr 2017 14:50:43 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6069E2842B for ; Sun, 2 Apr 2017 14:50:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751515AbdDBOun (ORCPT ); Sun, 2 Apr 2017 10:50:43 -0400 Received: from mail-lf0-f42.google.com ([209.85.215.42]:36845 "EHLO mail-lf0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751530AbdDBOum (ORCPT ); Sun, 2 Apr 2017 10:50:42 -0400 Received: by mail-lf0-f42.google.com with SMTP id x137so61316478lff.3 for ; Sun, 02 Apr 2017 07:50:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=GW7cIb46BE3k8bXjjArkE2AvjbLUSzBmbTpuzzuD70A=; b=fyrKaq2yiD6bhXdnRz30v6C7t9dz8WQDoKMCMa1V8GPz23Ncp2OK0AYGK3tqunJIUo kKk6338ytuZ6Yw1z1RSzKbHd6KBaZrVSs9v6oPV2dkNkensFVTovR/7SAezITCsRkFfI m5nazENAVocPAnFKUuuvZi6IomITK8mkilZWY= 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; bh=GW7cIb46BE3k8bXjjArkE2AvjbLUSzBmbTpuzzuD70A=; b=AwIIi69cxkSOq4DqyGXmarynKkNbJBYv1VMmnpcAvk+J2/Iw6uOrCvxgIqERnplQv2 T3fTbOuV1+oMaT94CMHjqx5FK/3GYiXOs6uot/2BF2eyFxjjHRXiN6COxajeSaxvlyWR /U0V9rQ0zvHeBmZz2xgYiaByr85DjF2KMuMhtY+w5FZ4TMdcoahIFCU961cPnxsrJaub hsWXg9qr/3IoRzky7CMxJ/lKLucjN3+u7vWjidfSFhFy4CeFOMwFV6gaCM9gP2p51sHZ hBDxDpfJeKVVuuhO0mspOxm3DXpjfeHgsTWD7reFv7fTH2tQxif7nOrE4ve7w/6PkaLe 6axQ== X-Gm-Message-State: AFeK/H22jAvQ9eMMq4r8Lua9yNrZqT7PRlZ75yXUCVFUKyidj4xLyVg/eBtf5BiQ9Vk2IFGg X-Received: by 10.25.156.206 with SMTP id f197mr4077271lfe.77.1491144640975; Sun, 02 Apr 2017 07:50:40 -0700 (PDT) Received: from localhost.localdomain (c-357171d5.014-348-6c756e10.cust.bredbandsbolaget.se. [213.113.113.53]) by smtp.gmail.com with ESMTPSA id u195sm2043879lja.29.2017.04.02.07.50.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 02 Apr 2017 07:50:39 -0700 (PDT) From: Linus Walleij To: Vinod Koul , dmaengine@vger.kernel.org Cc: Linus Walleij Subject: [PATCH 1/3] dma: pl080: Cut some unused defines Date: Sun, 2 Apr 2017 16:50:33 +0200 Message-Id: <20170402145033.24653-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.9.3 Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP There is no in-kernel code using these indexed register defines, and their offsets are clearly defined right below. Cut them. Signed-off-by: Linus Walleij --- include/linux/amba/pl080.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/include/linux/amba/pl080.h b/include/linux/amba/pl080.h index 91b84a7f0539..800429f4b997 100644 --- a/include/linux/amba/pl080.h +++ b/include/linux/amba/pl080.h @@ -46,16 +46,8 @@ /* Per channel configuration registers */ -#define PL080_Cx_STRIDE (0x20) +/* Per channel configuration registers */ #define PL080_Cx_BASE(x) ((0x100 + (x * 0x20))) -#define PL080_Cx_SRC_ADDR(x) ((0x100 + (x * 0x20))) -#define PL080_Cx_DST_ADDR(x) ((0x104 + (x * 0x20))) -#define PL080_Cx_LLI(x) ((0x108 + (x * 0x20))) -#define PL080_Cx_CONTROL(x) ((0x10C + (x * 0x20))) -#define PL080_Cx_CONFIG(x) ((0x110 + (x * 0x20))) -#define PL080S_Cx_CONTROL2(x) ((0x110 + (x * 0x20))) -#define PL080S_Cx_CONFIG(x) ((0x114 + (x * 0x20))) - #define PL080_CH_SRC_ADDR (0x00) #define PL080_CH_DST_ADDR (0x04) #define PL080_CH_LLI (0x08)