[media] ir-hix5hd2: remove writel/readl_relaxed define
authorZhangfei Gao <zhangfei.gao@linaro.org>
Sat, 31 Jan 2015 09:29:46 +0000 (06:29 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 11 Feb 2015 22:23:52 +0000 (20:23 -0200)
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>
drivers/media/rc/ir-hix5hd2.c

index b0df629..58ec598 100644 (file)
 #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