History

OMAP/gpio: drop MPUIO static base

The OMAP GPIO driver hardcodes the MPIO chip base, but there is no point: we have already moved all consumers over to using descriptor look-ups. Drop the MPUIO GPIO base and use dynamic assignment. Root out the unused instances of the OMAP_MPUIO() macro and delete the unused OMAP_GPIO_IS_MPUIO() macro.

Linus Walleij committed 3 years ago

Commit 968118f1 parent c31071e3 files · +1 −10Browse files

Showing the changes to include/linux/platform_data (1 of 3 files). Show all

Unified · Split

include/linux/platform_data/gpio-omap.h+0−3
@@ -144,9 +144,6 @@ · 143 unmodified lines
144144
145145 #define OMAP_MAX_GPIO_LINES 192
146146
147−#define OMAP_MPUIO(nr) (OMAP_MAX_GPIO_LINES + (nr))
148−#define OMAP_GPIO_IS_MPUIO(nr) ((nr) >= OMAP_MAX_GPIO_LINES)
149−
150147 #ifndef __ASSEMBLER__
151148 struct omap_gpio_reg_offs {
152149 u16 revision;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t