diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-06-30 14:50:51 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-07-03 13:13:14 -0700 |
commit | 14fbbc36d126d7ec7717144def386b9fc4c7fba2 (patch) | |
tree | 425be4f1742e0f9de874573d4f10e9831f3ca27d /drivers/input/touchscreen/ad7879-i2c.c | |
parent | 4397c98a8a60ba029f2d0051d0cbafe600f05d8c (diff) | |
download | op-kernel-dev-14fbbc36d126d7ec7717144def386b9fc4c7fba2.zip op-kernel-dev-14fbbc36d126d7ec7717144def386b9fc4c7fba2.tar.gz |
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-i2c.c')
-rw-r--r-- | drivers/input/touchscreen/ad7879-i2c.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/touchscreen/ad7879-i2c.c b/drivers/input/touchscreen/ad7879-i2c.c index 85dfdd2..81937b2 100644 --- a/drivers/input/touchscreen/ad7879-i2c.c +++ b/drivers/input/touchscreen/ad7879-i2c.c @@ -20,7 +20,7 @@ static int ad7879_i2c_suspend(struct i2c_client *client, pm_message_t message) { struct ad7879 *ts = i2c_get_clientdata(client); - ad7879_disable(ts); + ad7879_suspend(ts); return 0; } @@ -29,7 +29,7 @@ static int ad7879_i2c_resume(struct i2c_client *client) { struct ad7879 *ts = i2c_get_clientdata(client); - ad7879_enable(ts); + ad7879_resume(ts); return 0; } |