From patchwork Sat Jan 31 09:29:46 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhangfei Gao X-Patchwork-Id: 5754171 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 4F96CBF440 for ; Sat, 31 Jan 2015 09:31:56 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3F2512026F for ; Sat, 31 Jan 2015 09:31:55 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 27CBF2026D for ; Sat, 31 Jan 2015 09:31:54 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1YHUNd-0002Jc-NE; Sat, 31 Jan 2015 09:30:17 +0000 Received: from mail-pa0-f51.google.com ([209.85.220.51]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YHUNb-000189-2A for linux-arm-kernel@lists.infradead.org; Sat, 31 Jan 2015 09:30:15 +0000 Received: by mail-pa0-f51.google.com with SMTP id fb1so62122710pad.10 for ; Sat, 31 Jan 2015 01:29:53 -0800 (PST) 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; bh=AJXoXBXxVYUav8u8i+PKWCpN5S+nLD9BPcu/JOpA1Yo=; b=NopgThciSmJOqBd7FaFFww3zVSaO5Za+KDK/dHzGkQndTbE6VeowPUmpY8Y3LdHo3j JpZggrn0mfKrWWVSlem0wOthqTKb/ecEzSPk8nRmKE1mgdwukY/+KCleUW7Cy20i+tCh Q/6IkrihXV+iEfjYPCLMXYyQxZcxXjWofQcRAfL5wSiHPTC4K3a6gYV/Bh5pQWhY6wNw onCcTSRr3ifFIG/y7SNyU/mD4tbGPpV1osqESBCW0eFhFfpenyfeLf607m3MUEIw8tlI quTOrAB3YdDWlxAV2bMTPCCCR+lUg3zZAIAKESxcUsItCGuZXh0bOjb/B6IeAaHEX3wa hqSA== X-Gm-Message-State: ALoCoQkpMijnG3749tvjG7SVafzFRwBbTEI0a8pDIfVdF/b7+tIebcF95shmXz/HnSKtTeW4jfQ+ X-Received: by 10.68.224.6 with SMTP id qy6mr14541034pbc.155.1422696593724; Sat, 31 Jan 2015 01:29:53 -0800 (PST) Received: from localhost.localdomain ([180.150.153.56]) by mx.google.com with ESMTPSA id or4sm13222886pab.30.2015.01.31.01.29.50 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 31 Jan 2015 01:29:52 -0800 (PST) From: Zhangfei Gao To: Mauro Carvalho Chehab Subject: [PATCH] [media] ir-hix5hd2: remove writel/readl_relaxed define Date: Sat, 31 Jan 2015 17:29:46 +0800 Message-Id: <1422696586-27411-1-git-send-email-zhangfei.gao@linaro.org> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150131_013015_138765_7DC17AFE X-CRM114-Status: UNSURE ( 7.52 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) Cc: Zhangfei Gao , linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Commit 9439eb3ab9d1ec ("asm-generic: io: implement relaxed accessor macros as conditional wrappers") has added {read,write}{b,w,l,q}_relaxed to include/asm-generic/io.h Signed-off-by: Zhangfei Gao --- drivers/media/rc/ir-hix5hd2.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/drivers/media/rc/ir-hix5hd2.c b/drivers/media/rc/ir-hix5hd2.c index b0df62961c14..58ec5986274e 100644 --- a/drivers/media/rc/ir-hix5hd2.c +++ b/drivers/media/rc/ir-hix5hd2.c @@ -16,14 +16,6 @@ #include #include -/* Allow the driver to compile on all architectures */ -#ifndef writel_relaxed -# define writel_relaxed writel -#endif -#ifndef readl_relaxed -# define readl_relaxed readl -#endif - #define IR_ENABLE 0x00 #define IR_CONFIG 0x04 #define CNT_LEADS 0x08