summaryrefslogtreecommitdiff
path: root/include/linux/platform_data/gpio-dwapb.h
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2021-08-04 19:00:19 +0300
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2021-08-11 16:01:06 +0300
commit5111c2b6b0194b509f47e6338c4deeeb4497bda8 (patch)
tree4359ac87d8598da77d36c500252f62fd9722b0b6 /include/linux/platform_data/gpio-dwapb.h
parent36edadf5d336df62288658fcbdbb0fbf14554611 (diff)
downloadlinux-5111c2b6b0194b509f47e6338c4deeeb4497bda8.tar.xz
gpio: dwapb: Get rid of legacy platform data
Platform data is a legacy interface to supply device properties to the driver. In this case we don't have anymore in-kernel users for it. Just remove it for good. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Serge Semin <fancer.lancer@gmail.com> Tested-by: Serge Semin <fancer.lancer@gmail.com>
Diffstat (limited to 'include/linux/platform_data/gpio-dwapb.h')
-rw-r--r--include/linux/platform_data/gpio-dwapb.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/include/linux/platform_data/gpio-dwapb.h b/include/linux/platform_data/gpio-dwapb.h
deleted file mode 100644
index 535e5ed549d9..000000000000
--- a/include/linux/platform_data/gpio-dwapb.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-/*
- * Copyright(c) 2014 Intel Corporation.
- */
-
-#ifndef GPIO_DW_APB_H
-#define GPIO_DW_APB_H
-
-#define DWAPB_MAX_GPIOS 32
-
-struct dwapb_port_property {
- struct fwnode_handle *fwnode;
- unsigned int idx;
- unsigned int ngpio;
- unsigned int gpio_base;
- int irq[DWAPB_MAX_GPIOS];
-};
-
-struct dwapb_platform_data {
- struct dwapb_port_property *properties;
- unsigned int nports;
-};
-
-#endif