]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/input/touchscreen/tsc2005.c
use gpio_direction_input (OMAP tree only)
[linux-2.6-omap-h63xx.git] / drivers / input / touchscreen / tsc2005.c
index 7fb107ec69ef305bbba86465bc27d106826ed1e4..69213a47188da981055fda97476c402068d76047 100644 (file)
@@ -540,7 +540,7 @@ static int __devinit tsc2005_ts_init(struct tsc2005 *ts,
                dev_err(&ts->spi->dev, "unable to get DAV GPIO");
                goto err1;
        }
-       omap_set_gpio_direction(dav_gpio, 1);
+       gpio_direction_input(dav_gpio);
        ts->irq = OMAP_GPIO_IRQ(dav_gpio);
        dev_dbg(&ts->spi->dev, "TSC2005: DAV IRQ = %d\n", ts->irq);
 #endif