Input: ad7879 - add open and close methods

Tested-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
这个提交包含在:
Dmitry Torokhov
2010-06-30 14:50:51 -07:00
父节点 4397c98a8a
当前提交 14fbbc36d1
修改 4 个文件,包含 91 行新增44 行删除

查看文件

@@ -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;
}