diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2014-02-04 10:46:13 +0100 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2018-12-24 01:27:22 +0100 |
commit | 4923eb524ffb6c8e193d8162cc02e03fef1a5d09 (patch) | |
tree | 6baaea02f73e354c4e06c438940c45ce99c57f50 /drivers/input/touchscreen | |
parent | 2086e7f7ec8bf55b581ebf99f68d375c192fa254 (diff) |
input: touchscreen: fusion: platform independent GPIO description
Use platform independent description for requested GPIOs.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit c300f3a605f8984449c1a5324fd3edda6f2fd8ff)
(cherry picked from commit 7b4ba14c321ed0522ce477030a9071b3962049d3)
(cherry picked from commit 02411eed51279f2e1c0bd2f8676ada70aa51ac0a)
Diffstat (limited to 'drivers/input/touchscreen')
-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... */ |