From: Zhangfei Gao Date: Sat, 31 Jan 2015 09:29:46 +0000 (-0300) Subject: [media] ir-hix5hd2: remove writel/readl_relaxed define X-Git-Tag: v4.2-rc8~12^2~970 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bc0c5aa35ac88342831933ca7758ead62d9bae2b;p=platform%2Fkernel%2Flinux-exynos.git [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 Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/rc/ir-hix5hd2.c b/drivers/media/rc/ir-hix5hd2.c index b0df629..58ec598 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