diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2014-02-04 10:46:13 +0100 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2016-06-28 11:05:36 +0200 |
commit | 7b4ba14c321ed0522ce477030a9071b3962049d3 (patch) | |
tree | 9af81a4bc7120fb0a0ce87b1f756baeae498bfed | |
parent | 834518da7d48d1c12b13d59959e95ff60d525326 (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... */ |