gpio-stmpe.c (b888fb6f2a278442933e3bfab70262e9a5365fb3) gpio-stmpe.c (0d83a5eb65095b84b5b000684407fc171d7872e4)
1/*
2 * Copyright (C) ST-Ericsson SA 2010
3 *
4 * License Terms: GNU General Public License, version 2
5 * Author: Rabin Vincent <rabin.vincent@stericsson.com> for ST-Ericsson
6 */
7
8#include <linux/init.h>

--- 336 unchanged lines hidden (view full) ---

345
346static void stmpe_dbg_show(struct seq_file *s, struct gpio_chip *gc)
347{
348 unsigned i;
349 unsigned gpio = gc->base;
350
351 for (i = 0; i < gc->ngpio; i++, gpio++) {
352 stmpe_dbg_show_one(s, gc, i, gpio);
1/*
2 * Copyright (C) ST-Ericsson SA 2010
3 *
4 * License Terms: GNU General Public License, version 2
5 * Author: Rabin Vincent <rabin.vincent@stericsson.com> for ST-Ericsson
6 */
7
8#include <linux/init.h>

--- 336 unchanged lines hidden (view full) ---

345
346static void stmpe_dbg_show(struct seq_file *s, struct gpio_chip *gc)
347{
348 unsigned i;
349 unsigned gpio = gc->base;
350
351 for (i = 0; i < gc->ngpio; i++, gpio++) {
352 stmpe_dbg_show_one(s, gc, i, gpio);
353 seq_printf(s, "\n");
353 seq_putc(s, '\n');
354 }
355}
356
357static struct irq_chip stmpe_gpio_irq_chip = {
358 .name = "stmpe-gpio",
359 .irq_bus_lock = stmpe_gpio_irq_lock,
360 .irq_bus_sync_unlock = stmpe_gpio_irq_sync_unlock,
361 .irq_mask = stmpe_gpio_irq_mask,

--- 172 unchanged lines hidden ---
354 }
355}
356
357static struct irq_chip stmpe_gpio_irq_chip = {
358 .name = "stmpe-gpio",
359 .irq_bus_lock = stmpe_gpio_irq_lock,
360 .irq_bus_sync_unlock = stmpe_gpio_irq_sync_unlock,
361 .irq_mask = stmpe_gpio_irq_mask,

--- 172 unchanged lines hidden ---