]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/spi/tsc2301-core.c
use standard gpio get/set calls (OMAP tree only)
[linux-2.6-omap-h63xx.git] / drivers / spi / tsc2301-core.c
index 939bc48c2b5e8d38468fdfa9682837e851dae5f0..f6351c66f179e0c48caf60e80221583c4df18144 100644 (file)
@@ -161,10 +161,10 @@ static int __devinit tsc2301_probe(struct spi_device *spi)
                r = omap_request_gpio(tsc->reset_gpio);
                if (r < 0)
                        goto err1;
-               omap_set_gpio_dataout(tsc->reset_gpio, 1);
+               gpio_set_value(tsc->reset_gpio, 1);
                omap_set_gpio_direction(tsc->reset_gpio, 0);
                mdelay(1);
-               omap_set_gpio_dataout(tsc->reset_gpio, 0);
+               gpio_set_value(tsc->reset_gpio, 0);
 #endif
        } else
                tsc->reset_gpio = -1;