diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-07-01 01:50:51 +0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-07-04 00:13:14 +0400 |
commit | 14fbbc36d126d7ec7717144def386b9fc4c7fba2 (patch) | |
tree | 425be4f1742e0f9de874573d4f10e9831f3ca27d /drivers/input/touchscreen/ad7879-spi.c | |
parent | 4397c98a8a60ba029f2d0051d0cbafe600f05d8c (diff) | |
download | linux-14fbbc36d126d7ec7717144def386b9fc4c7fba2.tar.xz |
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) { struct ad7879 *ts = spi_get_drvdata(spi); - ad7879_disable(ts); + ad7879_suspend(ts); return 0; } @@ -34,7 +34,7 @@ static int ad7879_spi_resume(struct spi_device *spi) { struct ad7879 *ts = spi_get_drvdata(spi); - ad7879_enable(ts); + ad7879_resume(ts); return 0; } |