I noticed a problem that reading battery status was dependent on the pen_down status. While trying to solve the problem, I came up with the first two cleanup patches. The third one then fixes the original itch. The series been tested with Linux 3.0-rc5 on a Jaytech PID7901 having a WM9715. The code for WM9705 and WM9713 has only been compile tested. Testers are very welcome :) Thanks, Wolfram Wolfram Sang (3): input: touchscreen: wm97xx: remove redundant define input: touchscreen: wm97xx: refactor channel selection in poll_sample() input: touchscreen: wm97xx: mark channels which need pen_down drivers/input/touchscreen/atmel-wm97xx.c | 2 +- drivers/input/touchscreen/mainstone-wm97xx.c | 6 ++-- drivers/input/touchscreen/wm9705.c | 25 +++++++++++------------ drivers/input/touchscreen/wm9712.c | 27 +++++++++++++------------ drivers/input/touchscreen/wm9713.c | 25 ++++++++++++----------- drivers/input/touchscreen/zylonite-wm97xx.c | 6 ++-- include/linux/wm97xx.h | 13 ++++------- 7 files changed, 51 insertions(+), 53 deletions(-) -- 1.7.2.5 -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html