]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/input/touchscreen/omap/ts_hx.c
use gpio_direction_input (OMAP tree only)
[linux-2.6-omap-h63xx.git] / drivers / input / touchscreen / omap / ts_hx.c
index 9f82f5afc21f74d3ced5492bf2212c08da21f8ba..a536e306efd2444c89fba1924602613e4601c403 100644 (file)
@@ -97,7 +97,7 @@ static int __init hx_ts_probe(struct omap_ts_t *ts)
                return -EINVAL;
        };
 
-       omap_set_gpio_direction(gpio, 1);
+       gpio_direction_input(gpio);
        ts->irq_type = IRQF_TRIGGER_FALLING;
        return 0;
 }