summaryrefslogtreecommitdiffstats
path: root/drivers/media/rc/ir-hix5hd2.c
diff options
context:
space:
mode:
authorZhangfei Gao <zhangfei.gao@linaro.org>2015-01-31 06:29:46 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-02-11 20:23:52 -0200
commitbc0c5aa35ac88342831933ca7758ead62d9bae2b (patch)
treecfe65878ce143c1e7cda76c276e320ba0e80afcc /drivers/media/rc/ir-hix5hd2.c
parentd6d4c0e00fe559ef54b414e2e6266beaa50b4d8e (diff)
downloadlinux-stable-bc0c5aa35ac88342831933ca7758ead62d9bae2b.tar.gz
linux-stable-bc0c5aa35ac88342831933ca7758ead62d9bae2b.tar.bz2
linux-stable-bc0c5aa35ac88342831933ca7758ead62d9bae2b.zip
[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>
Diffstat (limited to 'drivers/media/rc/ir-hix5hd2.c')
-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 @@
#include <linux/regmap.h>
#include <media/rc-core.h>
-/* 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