This removes all usage of global GPIO numbers from arch/arm/mach-omap[12]. The patches have been reviewed and tested by everyone who showed interest which was one person that tested on OSK1 and Nokia 770, and we smoked out the bugs and also addressed all review comments. Any remaining problems can certainly be fixed in-tree. * tag 'gpio-omap-descriptors-v6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio: ARM/musb: omap2: Remove global GPIO numbers from TUSB6010 ARM: omap2: Rewrite WLAN quirk to use GPIO descriptors ARM: omap2: Get USB hub reset GPIO from descriptor ARM/gpio: Push OMAP2 quirk down into TWL4030 driver ARM: omap1: Exorcise the legacy GPIO header ARM: omap1: Make serial wakeup GPIOs use descriptors ARM: omap1: Fix up the Nokia 770 board device IRQs ARM/mmc: Convert old mmci-omap to GPIO descriptors Input: ads7846 - Convert to use software nodes ARM: omap1: Remove reliance on GPIO numbers from SX1 ARM: omap1: Remove reliance on GPIO numbers from PalmTE ARM: omap1: Drop header on AMS Delta ARM/mfd/gpio: Fixup TPS65010 regression on OMAP1 OSK1
Showing the changes to include/linux/platform_data (2 of 32 files). Show all
Unified · Split
| @@ -15,10 +15,8 @@ enum mipid_test_result { · 14 unmodified lines | |||
| 15 | #ifdef __KERNEL__ | 15 | #ifdef __KERNEL__ |
| 16 | 16 | ||
| 17 | struct mipid_platform_data { | 17 | struct mipid_platform_data { |
| 18 | int nreset_gpio; | ||
| 19 | int data_lines; | 18 | int data_lines; |
| 20 | 19 | ||
| 21 | void (*shutdown)(struct mipid_platform_data *pdata); | ||
| 22 | void (*set_bklight_level)(struct mipid_platform_data *pdata, | 20 | void (*set_bklight_level)(struct mipid_platform_data *pdata, |
| 23 | int level); | 21 | int level); |
| 24 | int (*get_bklight_level)(struct mipid_platform_data *pdata); | 22 | int (*get_bklight_level)(struct mipid_platform_data *pdata); |
| @@ -20,8 +20,6 @@ struct omap_mmc_platform_data { · 19 unmodified lines | |||
| 20 | * maximum frequency on the MMC bus */ | 20 | * maximum frequency on the MMC bus */ |
| 21 | unsigned int max_freq; | 21 | unsigned int max_freq; |
| 22 | 22 | ||
| 23 | /* switch the bus to a new slot */ | ||
| 24 | int (*switch_slot)(struct device *dev, int slot); | ||
| 25 | /* initialize board-specific MMC functionality, can be NULL if | 23 | /* initialize board-specific MMC functionality, can be NULL if |
| 26 | * not supported */ | 24 | * not supported */ |
| 27 | int (*init)(struct device *dev); | 25 | int (*init)(struct device *dev); |