diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2014-02-04 10:46:13 +0100 |
---|---|---|
committer | Stefan Agner <stefan.agner@toradex.com> | 2014-12-15 10:04:38 +0100 |
commit | 8af08658a3582ae8aa727126691edadc41484c9b (patch) | |
tree | 0f31f497c11af0297b9938996094303d815b202a | |
parent | 2b790201ef6ebd768c28e69543398c731a49ddb9 (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 05bbdf5e8c5b..813805ec2b1d 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... */ |