diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-06-30 17:50:51 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-07-03 16:13:14 -0400 |
commit | 14fbbc36d126d7ec7717144def386b9fc4c7fba2 (patch) | |
tree | 425be4f1742e0f9de874573d4f10e9831f3ca27d /drivers/input/touchscreen/ad7879-spi.c | |
parent | 4397c98a8a60ba029f2d0051d0cbafe600f05d8c (diff) |
Input: ad7879 - add open and close methods
Tested-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/touchscreen/ad7879-spi.c')
-rw-r--r-- | drivers/input/touchscreen/ad7879-spi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/touchscreen/ad7879-spi.c b/drivers/input/touchscreen/ad7879-spi.c index 5d1e5a050332..9fa8e5de5ff9 100644 --- a/drivers/input/touchscreen/ad7879-spi.c +++ b/drivers/input/touchscreen/ad7879-spi.c | |||
@@ -25,7 +25,7 @@ static int ad7879_spi_suspend(struct spi_device *spi, pm_message_t message) | |||
25 | { | 25 | { |
26 | struct ad7879 *ts = spi_get_drvdata(spi); | 26 | struct ad7879 *ts = spi_get_drvdata(spi); |
27 | 27 | ||
28 | ad7879_disable(ts); | 28 | ad7879_suspend(ts); |
29 | 29 | ||
30 | return 0; | 30 | return 0; |
31 | } | 31 | } |
@@ -34,7 +34,7 @@ static int ad7879_spi_resume(struct spi_device *spi) | |||
34 | { | 34 | { |
35 | struct ad7879 *ts = spi_get_drvdata(spi); | 35 | struct ad7879 *ts = spi_get_drvdata(spi); |
36 | 36 | ||
37 | ad7879_enable(ts); | 37 | ad7879_resume(ts); |
38 | 38 | ||
39 | return 0; | 39 | return 0; |
40 | } | 40 | } |