Input: ad7879 - move header to platform_data directory
The header file is used by the SPI and I2C variant of the driver. Therefore, move it to a more generic place under platform_data. Signed-off-by: Stefan Agner <stefan@agner.ch> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:

committed by
Dmitry Torokhov

parent
cd1480ae4d
commit
4774f40093
@@ -31,7 +31,7 @@
|
||||
#include <linux/i2c.h>
|
||||
#include <linux/gpio.h>
|
||||
|
||||
#include <linux/spi/ad7879.h>
|
||||
#include <linux/platform_data/ad7879.h>
|
||||
#include <linux/module.h>
|
||||
#include "ad7879.h"
|
||||
|
||||
@@ -170,10 +170,10 @@ static int ad7879_report(struct ad7879 *ts)
|
||||
* filter. The combination of these two techniques provides a robust
|
||||
* solution, discarding the spurious noise in the signal and keeping
|
||||
* only the data of interest. The size of both filters is
|
||||
* programmable. (dev.platform_data, see linux/spi/ad7879.h) Other
|
||||
* user-programmable conversion controls include variable acquisition
|
||||
* time, and first conversion delay. Up to 16 averages can be taken
|
||||
* per conversion.
|
||||
* programmable. (dev.platform_data, see linux/platform_data/ad7879.h)
|
||||
* Other user-programmable conversion controls include variable
|
||||
* acquisition time, and first conversion delay. Up to 16 averages can
|
||||
* be taken per conversion.
|
||||
*/
|
||||
|
||||
if (likely(x && z1)) {
|
||||
|
Reference in New Issue
Block a user