diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2014-02-04 10:46:13 +0100 |
---|---|---|
committer | Philippe Schenker <philippe.schenker@toradex.com> | 2020-08-13 16:04:31 +0200 |
commit | 614c6bf133b3d1204c5bfb29d53630cc290728e3 (patch) | |
tree | 5c170df2a055aaadc54bee980904bd9f6b997990 /drivers/input/touchscreen/fusion_F0710A.c | |
parent | b11ffb03b5e786f13decf7bf95d517a89e975656 (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)
(cherry picked from commit 0773a029f7cfb81dc7ee88f1ace3ccd44243b331)
Diffstat (limited to 'drivers/input/touchscreen/fusion_F0710A.c')
-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 037aa0337aa4..3f41811d4dcb 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... */ |