summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorEnrico Scholz <enrico.scholz@sigma-chemnitz.de>2011-12-02 16:16:09 +0100
committerJustin Waters <justin.waters@timesys.com>2013-11-07 12:19:27 -0500
commit235d72966d0363213897a900620adc754ec6fd97 (patch)
tree0db1088f56ef5b90cd1d3cf114d972f3af4b3606 /drivers
parent5fe20afd93fe08156659a873f638f2a62a9c064c (diff)
EDT-FT5x06: named the requested gpios
Signed-off-by: Christian Hemp <c.hemp@phytec.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/input/touchscreen/edt-ft5x06.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/touchscreen/edt-ft5x06.c b/drivers/input/touchscreen/edt-ft5x06.c
index eb70255d854a..bdd9166bcb8c 100644
--- a/drivers/input/touchscreen/edt-ft5x06.c
+++ b/drivers/input/touchscreen/edt-ft5x06.c
@@ -492,7 +492,7 @@ static int edt_ft5x06_i2c_ts_probe (struct i2c_client *client,
mutex_init (&tsdata->mutex);
if (tsdata->reset_pin >= 0) {
- error = gpio_request (tsdata->reset_pin, NULL);
+ error = gpio_request (tsdata->reset_pin, "EDT-FT5X06 nRESET");
if (error < 0) {
dev_err (&client->dev,
"Failed to request GPIO %d as reset pin, error %d\n",
@@ -513,7 +513,7 @@ static int edt_ft5x06_i2c_ts_probe (struct i2c_client *client,
tsdata->irq = client->irq;
tsdata->irq_pin = irq_to_gpio (tsdata->irq);
- error = gpio_request (tsdata->irq_pin, NULL);
+ error = gpio_request (tsdata->irq_pin, "EDT-FT5X06 nIRQ");
if (error < 0) {
dev_err (&client->dev,
"Failed to request GPIO %d for IRQ %d, error %d\n",