Message ID | 1427113110-20813-7-git-send-email-grygorii.strashko@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Mon, Mar 23, 2015 at 1:18 PM, <grygorii.strashko@linaro.org> wrote: > From: Grygorii Strashko <grygorii.strashko@linaro.org> > > Now OMAP GPIO driver prepared for GPIO_BIT() macro removing. > Do it ;) > > Tested-by: Tony Lindgren <tony@atomide.com> > Tested-by: Aaro Koskinen <aaro.koskinen@iki.fi> > Acked-by: Santosh Shilimkar <ssantosh@kernel.org> > Acked-by: Javier Martinez Canillas <javier@dowhile0.org> > Signed-off-by: Grygorii Strashko <grygorii.strashko@linaro.org> Patch applied. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/gpio/gpio-omap.c b/drivers/gpio/gpio-omap.c index 628a132..dd7934a 100644 --- a/drivers/gpio/gpio-omap.c +++ b/drivers/gpio/gpio-omap.c @@ -82,7 +82,6 @@ struct gpio_bank { }; #define GPIO_INDEX(bank, gpio) (gpio % bank->width) -#define GPIO_BIT(bank, gpio) (BIT(GPIO_INDEX(bank, gpio))) #define GPIO_MOD_CTRL_BIT BIT(0) #define BANK_USED(bank) (bank->mod_usage || bank->irq_usage)