[PATCH 1/3] i2c/pxa: remove unused macro

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Mon Mar 22 17:04:11 EDT 2010


Hi Ben,

On Wed, Feb 24, 2010 at 12:01:44PM +0100, Uwe Kleine-König wrote:
> Commit
> 
> 	beea494 ([ARM] Remove EEPROM slave emulation from i2c-pxa driver.)
> 
> removed all uses of eedbg, so the definition can go, too.
> 
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
> Acked-by: Russell King <rmk+kernel at arm.linux.org.uk>
> Cc: Eric Miao <eric.y.miao at gmail.com>
> Cc: Roel Kluin <roel.kluin at gmail.com>
> Acked-by: Pavel Machek <pavel at ucw.cz>
ping

Uwe
> ---
>  drivers/i2c/busses/i2c-pxa.c |    2 --
>  1 files changed, 0 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/i2c/busses/i2c-pxa.c b/drivers/i2c/busses/i2c-pxa.c
> index 7647a20..b3c6c9d 100644
> --- a/drivers/i2c/busses/i2c-pxa.c
> +++ b/drivers/i2c/busses/i2c-pxa.c
> @@ -216,8 +216,6 @@ static void i2c_pxa_show_state(struct pxa_i2c *i2c, int lno, const char *fname)
>  #define decode_ICR(val) do { } while (0)
>  #endif
>  
> -#define eedbg(lvl, x...) do { if ((lvl) < 1) { printk(KERN_DEBUG "" x); } } while(0)
> -
>  static void i2c_pxa_master_complete(struct pxa_i2c *i2c, int ret);
>  static irqreturn_t i2c_pxa_handler(int this_irq, void *dev_id);
>  
> -- 
> 1.6.6.2

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |



More information about the linux-arm-kernel mailing list