From b2c3136a07fe79c2f18abf199d60f0b311da084a Mon Sep 17 00:00:00 2001 From: Komal Shah Date: Tue, 3 Jan 2006 11:08:28 -0800 Subject: [PATCH] [PATCH] ARM: OMAP: gpio expander debug cleanup Do we really need this debug macros? If not, I have removed it in this patch. Signed-off-by: Komal Shah Signed-off-by: Tony Lindgren --- drivers/i2c/chips/gpio_expander_omap.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/drivers/i2c/chips/gpio_expander_omap.c b/drivers/i2c/chips/gpio_expander_omap.c index 7f428641400..d63a6ee77cd 100644 --- a/drivers/i2c/chips/gpio_expander_omap.c +++ b/drivers/i2c/chips/gpio_expander_omap.c @@ -19,16 +19,6 @@ int read_gpio_expa(u8 * val, int addr); int write_gpio_expa(u8 val, int addr); -#define OMAP_IRDA_DEBUG 0 - -#if (OMAP_IRDA_DEBUG > 0) -#define DBG(format, args...) printk(KERN_ERR "%s(): " format, __FUNCTION__, ## args); -#define DBG_IRQ(format, args...) printk(KERN_ERR "%s(): " format, __FUNCTION__, ## args); -#else -#define DBG(format, args...) -#define DBG_IRQ(format, args...) -#endif - int write_gpio_expa(u8 val, int addr) { struct i2c_adapter *adap; @@ -71,7 +61,6 @@ int read_gpio_expa(u8 * val, int addr) err = i2c_transfer(adap, msg, 1); *val = data[0]; - DBG("I2C: Read data is %x\n", (u8) * data); if (err >= 0) return 0; return err; -- 2.41.1