aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhangfei Gao <zhangfei.gao@linaro.org>2015-01-31 04:29:46 -0500
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-02-11 17:23:52 -0500
commitbc0c5aa35ac88342831933ca7758ead62d9bae2b (patch)
treecfe65878ce143c1e7cda76c276e320ba0e80afcc
parentd6d4c0e00fe559ef54b414e2e6266beaa50b4d8e (diff)
[media] ir-hix5hd2: remove writel/readl_relaxed define
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 <zhangfei.gao@linaro.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
-rw-r--r--drivers/media/rc/ir-hix5hd2.c8
1 files changed, 0 insertions, 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 @@
16#include <linux/regmap.h> 16#include <linux/regmap.h>
17#include <media/rc-core.h> 17#include <media/rc-core.h>
18 18
19/* Allow the driver to compile on all architectures */
20#ifndef writel_relaxed
21# define writel_relaxed writel
22#endif
23#ifndef readl_relaxed
24# define readl_relaxed readl
25#endif
26
27#define IR_ENABLE 0x00 19#define IR_ENABLE 0x00
28#define IR_CONFIG 0x04 20#define IR_CONFIG 0x04
29#define CNT_LEADS 0x08 21#define CNT_LEADS 0x08