Commit 5b39187f authored by Wan ZongShun's avatar Wan ZongShun Committed by Dmitry Torokhov

Input: w90p910_ts - fix call to setup_timer()

No need to take address, w90p910_ts is already a pointer.
Signed-off-by: default avatarWan ZongShun <mcuos.com@gmail.com>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent bbddd199
...@@ -233,7 +233,7 @@ static int __devinit w90x900ts_probe(struct platform_device *pdev) ...@@ -233,7 +233,7 @@ static int __devinit w90x900ts_probe(struct platform_device *pdev)
w90p910_ts->state = TS_IDLE; w90p910_ts->state = TS_IDLE;
spin_lock_init(&w90p910_ts->lock); spin_lock_init(&w90p910_ts->lock);
setup_timer(&w90p910_ts->timer, w90p910_check_pen_up, setup_timer(&w90p910_ts->timer, w90p910_check_pen_up,
(unsigned long)&w90p910_ts); (unsigned long)w90p910_ts);
res = platform_get_resource(pdev, IORESOURCE_MEM, 0); res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
if (!res) { if (!res) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment