From: Jaehoon Chung Date: Thu, 28 Sep 2017 11:45:18 +0000 (+0900) Subject: arm: sc8830: gpio: remove the redefined macro X-Git-Tag: submit/tizen/20171013.052930~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1353bc2163f08d5137f7736f501eb106baf74d08;p=profile%2Fmobile%2Fplatform%2Fkernel%2Fu-boot-tm1.git arm: sc8830: gpio: remove the redefined macro Some macros are already defined in other header files. Remove the redefined macro. Change-Id: I62b5aa80d057cf5ac32798d796ece59890b6a21e Signed-off-by: Jaehoon Chung --- diff --git a/arch/arm/cpu/armv7/sc8830/gpio.c b/arch/arm/cpu/armv7/sc8830/gpio.c index 2c5fe92..3ea3b1e 100644 --- a/arch/arm/cpu/armv7/sc8830/gpio.c +++ b/arch/arm/cpu/armv7/sc8830/gpio.c @@ -19,23 +19,6 @@ #include #include -#define KERN_WARNING "" -#define WARN(nmu, fmt...) printf(fmt) -#define WARN_ON(num) -#define BUG_ON(__cond__) if(__cond__) printf("%s line: %d bug on\n", __FUNCTION__, __LINE__) -#define pr_err(fmt...) printf(fmt) -#define ARRAY_SIZE(a) (sizeof(a)/sizeof(a[0])) -#define pr_debug(fmt...) printf(fmt) - -//#define DEBUG - - -#ifdef DEBUG -#define GPIO_DBG(fmt...) pr_debug(fmt) -#else -#define GPIO_DBG(fmt...) -#endif - #ifndef GPO_TRI #define GPO_TRI 0xFFFF #endif @@ -57,7 +40,6 @@ struct gpio_irq_map { int irq_num; }; -#define GPIO_INVALID_ID 0xffff #define INVALID_REG (~(u32)0) //static struct gpio_irq_map gpio_irq_table[NR_GPIO_IRQS];