aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-ep93xx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/gpio-ep93xx.c')
-rw-r--r--drivers/gpio/gpio-ep93xx.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/gpio/gpio-ep93xx.c b/drivers/gpio/gpio-ep93xx.c
index 4ca5642e9776..776b772523e5 100644
--- a/drivers/gpio/gpio-ep93xx.c
+++ b/drivers/gpio/gpio-ep93xx.c
@@ -12,8 +12,6 @@
12 * published by the Free Software Foundation. 12 * published by the Free Software Foundation.
13 */ 13 */
14 14
15#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
16
17#include <linux/init.h> 15#include <linux/init.h>
18#include <linux/module.h> 16#include <linux/module.h>
19#include <linux/platform_device.h> 17#include <linux/platform_device.h>
@@ -65,11 +63,6 @@ static void ep93xx_gpio_update_int_params(unsigned port)
65 EP93XX_GPIO_REG(int_en_register_offset[port])); 63 EP93XX_GPIO_REG(int_en_register_offset[port]));
66} 64}
67 65
68static inline void ep93xx_gpio_int_mask(unsigned line)
69{
70 gpio_int_unmasked[line >> 3] &= ~(1 << (line & 7));
71}
72
73static void ep93xx_gpio_int_debounce(unsigned int irq, bool enable) 66static void ep93xx_gpio_int_debounce(unsigned int irq, bool enable)
74{ 67{
75 int line = irq_to_gpio(irq); 68 int line = irq_to_gpio(irq);
@@ -212,7 +205,6 @@ static int ep93xx_gpio_irq_type(struct irq_data *d, unsigned int type)
212 handler = handle_edge_irq; 205 handler = handle_edge_irq;
213 break; 206 break;
214 default: 207 default:
215 pr_err("failed to set irq type %d for gpio %d\n", type, gpio);
216 return -EINVAL; 208 return -EINVAL;
217 } 209 }
218 210