input: atmel_mxt_ts: Clean up pdata and update config array
Remove blen, tchthr, x_line, y_line, orient and voltage from platform data to not to overwrite the config data with these values. Update config array to have the proper values. Turn on i2c_pull_up in platform data. Change-Id: Ic926e96886f52cea3dad29e9a44559b26c717259 Signed-off-by: Jing Lin <jinglin@codeaurora.org>
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
*
|
||||
* Copyright (C) 2010 Samsung Electronics Co.Ltd
|
||||
* Author: Joonyoung Shim <jy0922.shim@samsung.com>
|
||||
* Copyright (c) 2011, Code Aurora Forum. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
@@ -30,18 +31,12 @@ struct mxt_platform_data {
|
||||
const u8 *config;
|
||||
size_t config_length;
|
||||
|
||||
unsigned int x_line;
|
||||
unsigned int y_line;
|
||||
unsigned int x_size;
|
||||
unsigned int y_size;
|
||||
unsigned int blen;
|
||||
unsigned int threshold;
|
||||
unsigned int voltage;
|
||||
unsigned char orient;
|
||||
unsigned long irqflags;
|
||||
bool i2c_pull_up;
|
||||
u8(*read_chg) (void);
|
||||
|
||||
u8(*read_chg) (void);
|
||||
int (*init_hw) (bool);
|
||||
int (*power_on) (bool);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user