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: 44072 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f69.google.com (mail-wg0-f69.google.com [74.125.82.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 3D05A2359E for ; Sat, 31 Jan 2015 09:30:02 +0000 (UTC) Received: by mail-wg0-f69.google.com with SMTP id x12sf12891981wgg.0 for ; Sat, 31 Jan 2015 01:30:01 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=en7rlzpbmkgewViYON8VkeBgnqZwhZPfryORpqnVFSg=; b=WW29EX6oUhTnRJVMwwpd3Hd/LzuuKeZosiEpL9T7MhT9EQLDJS6q1F7cEEdvcupfVG GU+IYK5TmXlLkTaTXezeBfqVVLt3X4U4zUnySw3bEZDWqp/UyaObnjiAseco2b+Xqouf n4sFcMARdu49LnwdKXXTzPJNQF6sjTCPevxWKj5Bs7xbi9alX9tczwr5V96HwOpcyfye z/iMyHhZwyz2z0v42KFcpLYI3xtmv0aSfWECzmZucbadviwEJ+4SNxyBotFI0SLmVl4k weD1SRhxkS6pFkxXh/aZR6/LmQqcNhI/kfCNUzKIC9CNMz1MKRp151FJJDengc/EGR8K VykA== X-Gm-Message-State: ALoCoQkv9JDbOM/ZsVIW8crfNufgEXInbiQW+I6OD+hRHnp+ELYqk+XAwY60X3Ttl229fSLmOYdS X-Received: by 10.112.133.98 with SMTP id pb2mr1334561lbb.2.1422696601176; Sat, 31 Jan 2015 01:30:01 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.6.97 with SMTP id z1ls517292laz.35.gmail; Sat, 31 Jan 2015 01:30:00 -0800 (PST) X-Received: by 10.112.164.101 with SMTP id yp5mr10246562lbb.82.1422696600747; Sat, 31 Jan 2015 01:30:00 -0800 (PST) Received: from mail-la0-f48.google.com (mail-la0-f48.google.com. [209.85.215.48]) by mx.google.com with ESMTPS id em9si11957053lbc.102.2015.01.31.01.30.00 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 31 Jan 2015 01:30:00 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.48 as permitted sender) client-ip=209.85.215.48; Received: by mail-la0-f48.google.com with SMTP id pv20so27864422lab.7 for ; Sat, 31 Jan 2015 01:30:00 -0800 (PST) X-Received: by 10.152.203.230 with SMTP id kt6mr10186025lac.38.1422696600618; Sat, 31 Jan 2015 01:30:00 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.35.133 with SMTP id h5csp176970lbj; Sat, 31 Jan 2015 01:29:59 -0800 (PST) X-Received: by 10.66.234.2 with SMTP id ua2mr15505375pac.4.1422696598902; Sat, 31 Jan 2015 01:29:58 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id qm10si4986968pac.51.2015.01.31.01.29.58; Sat, 31 Jan 2015 01:29:58 -0800 (PST) Received-SPF: none (google.com: linux-media-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754635AbbAaJ34 (ORCPT + 3 others); 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-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: list List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: zhangfei.gao@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.48 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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