summaryrefslogtreecommitdiff
path: root/include/linux/platform_data/gpio-omap.h
diff options
context:
space:
mode:
authorSuman Anna <s-anna@ti.com>2018-02-12 19:32:37 -0600
committerTony Lindgren <tony@atomide.com>2018-02-14 10:28:12 -0800
commita0e37da2a542acb6069b9e10d8aba3be4e5204d7 (patch)
tree01032bd8793c186a3adf0b369e79b6e2b14c6239 /include/linux/platform_data/gpio-omap.h
parentddd6a9d928931f2dfe61029e55faee21f7de2768 (diff)
ARM: OMAP2+: Cleanup omap_gpio_dev_attr usage
The omap_gpio_dev_attr data was used to supply instance-specific data for legacy non-DT devices. The GPIO legacy device support has been cleaned up in commit 14944934f8ac ("ARM: OMAP2+: Remove legacy gpio code") a while ago and this data is therefore no longer needed. So, cleanup the structure and all the associated data in various hwmod data files. Signed-off-by: Suman Anna <s-anna@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'include/linux/platform_data/gpio-omap.h')
-rw-r--r--include/linux/platform_data/gpio-omap.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/platform_data/gpio-omap.h b/include/linux/platform_data/gpio-omap.h
index cb2618147c34..8612855691b2 100644
--- a/include/linux/platform_data/gpio-omap.h
+++ b/include/linux/platform_data/gpio-omap.h
@@ -157,11 +157,6 @@
#define OMAP_MPUIO(nr) (OMAP_MAX_GPIO_LINES + (nr))
#define OMAP_GPIO_IS_MPUIO(nr) ((nr) >= OMAP_MAX_GPIO_LINES)
-struct omap_gpio_dev_attr {
- int bank_width; /* GPIO bank width */
- bool dbck_flag; /* dbck required or not - True for OMAP3&4 */
-};
-
struct omap_gpio_reg_offs {
u16 revision;
u16 direction;