diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2014-02-04 10:46:13 +0100 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2014-07-08 14:49:23 +0200 |
commit | dc26d6d33912cea5bc252c3a086314d6a99432f7 (patch) | |
tree | 6c06e8d61eda248b1229516c41bbe262929cb8e6 | |
parent | 48d18d00350ced8b9d7435c57ebd42f44b243237 (diff) |
input: touchscreen: fusion: platform independent GPIO description
Use platform independent description for requested GPIOs.
(cherry picked from commit c300f3a605f8984449c1a5324fd3edda6f2fd8ff)
-rw-r--r-- | drivers/input/touchscreen/fusion_F0710A.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/touchscreen/fusion_F0710A.c b/drivers/input/touchscreen/fusion_F0710A.c index 330d4130399a..c5c0f1fc38ea 100644 --- a/drivers/input/touchscreen/fusion_F0710A.c +++ b/drivers/input/touchscreen/fusion_F0710A.c @@ -308,7 +308,7 @@ static int fusion_F0710A_probe(struct i2c_client *i2c, const struct i2c_device_i } } - if ((gpio_request(pdata->gpio_int, "SO-DIMM 28 (Iris X16-38 Pen)") == 0) && + if ((gpio_request(pdata->gpio_int, "Fusion pen down interrupt") == 0) && (gpio_direction_input(pdata->gpio_int) == 0)) { gpio_export(pdata->gpio_int, 0); } else { @@ -316,7 +316,7 @@ static int fusion_F0710A_probe(struct i2c_client *i2c, const struct i2c_device_i return -ENODEV; } - if ((gpio_request(pdata->gpio_reset, "SO-DIMM 30 (Iris X16-39 RST)") == 0) && + if ((gpio_request(pdata->gpio_reset, "Fusion reset") == 0) && (gpio_direction_output(pdata->gpio_reset, 1) == 0)) { /* Generate a 0 => 1 edge explicitly, and wait for startup... */ |