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: 5754151 Return-Path: X-Original-To: patchwork-linux-media@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 E999FBF440 for ; Sat, 31 Jan 2015 09:29:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3159C2027D for ; Sat, 31 Jan 2015 09:29:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5F8292026F for ; Sat, 31 Jan 2015 09:29:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754635AbbAaJ34 (ORCPT ); Sat, 31 Jan 2015 04:29:56 -0500 Received: from mail-pa0-f48.google.com ([209.85.220.48]:43760 "EHLO mail-pa0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753560AbbAaJ3y (ORCPT ); Sat, 31 Jan 2015 04:29:54 -0500 Received: by mail-pa0-f48.google.com with SMTP id ey11so62051042pad.7 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=BEeCxdQIOfX6c6J3EsQ17zP5UEk7ZfHqcGWXKYygPMFhAmJt9NbbnNq63FdYJ7BPtF oYF+4z726UQ+cLM3jt+jduGF98Dy4MusRVZRptg3d+5pkiUtiww/KDDVm2pu0ocKZLhy j/bAgC6ur+di91YMtSYI2mLYy9O6PgSwE1Fx36OP9B6LggmOrk2wUFYEpApTsEseIIbw yhOZuHBsQ6Fu4rI+MWXan3ieuyRxpVn44L3YfXVDNxiGzMVLweg04xZeDy8N8pFFLnfW LCbOjWrubHBb1TMm2xNpA1KvKAhBH9I5kRMcfKD056F5wTGEouxd3nTQWoiyn8vmGerH KGMQ== X-Gm-Message-State: ALoCoQkwNDAMbf2llOiwTcvEmMxqQRMwfHX8D0bBFOndihaHJquqJiqTrlfxhmrVbrh92H8zLET5 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 Cc: linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org, Zhangfei Gao 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 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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