mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
gpio: omap: get rid of GPIO_BIT() macro
Now OMAP GPIO driver prepared for GPIO_BIT() macro removing. Do it ;) Tested-by: Tony Lindgren <[email protected]> Tested-by: Aaro Koskinen <[email protected]> Acked-by: Santosh Shilimkar <[email protected]> Acked-by: Javier Martinez Canillas <[email protected]> Signed-off-by: Grygorii Strashko <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
This commit is contained in:
parent
9943f2611c
commit
8ac58a0a72
1 changed files with 0 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue