diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2016-03-02 11:43:35 +0530 |
---|---|---|
committer | Stefan Agner <stefan.agner@toradex.com> | 2016-03-02 17:54:31 -0800 |
commit | 471c4bd844c51676dcd6c89ced2d508744cf08c3 (patch) | |
tree | d9de31d08d2dbe6fca11d24504e30c1f51b68ec3 | |
parent | 79152e1a4098f22d6149dd43d3ae6160df77c04e (diff) |
input: touchscreen: fusion: platform independent GPIO description
Use platform independent description for requested GPIOs.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
-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 b55cde4da258..26ef6d9a1724 100644 --- a/drivers/input/touchscreen/fusion_F0710A.c +++ b/drivers/input/touchscreen/fusion_F0710A.c @@ -286,7 +286,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 { @@ -294,7 +294,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... */ |