Input: auo-pixcir-ts - handle reset gpio directly
Devicetree based platforms don't handle device callbacks very well and until now no board has come along that needs more extended hwinit than pulling the rst gpio high. Therefore pull the reset handling directly into the driver and remove the callbacks from the driver. If extended device setup is needed at some later point, power-sequences would probably be the solution of choice. Signed-off-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:
parent
fa65630862
commit
27cef8b47c
2 changed files with 21 additions and 9 deletions
|
@ -43,12 +43,10 @@
|
|||
*/
|
||||
struct auo_pixcir_ts_platdata {
|
||||
int gpio_int;
|
||||
int gpio_rst;
|
||||
|
||||
int int_setting;
|
||||
|
||||
void (*init_hw)(struct i2c_client *);
|
||||
void (*exit_hw)(struct i2c_client *);
|
||||
|
||||
unsigned int x_max;
|
||||
unsigned int y_max;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue