]> bbs.cooldavid.org Git - net-next-2.6.git/commit
Input: ucb1400_ts - fix a misleading function name
authorHans J. Koch <hjk@linutronix.de>
Mon, 13 Jul 2009 03:51:25 +0000 (20:51 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 13 Jul 2009 05:19:26 +0000 (22:19 -0700)
commitf9c22736940cdc8f5e2db0109fc9493e0cbd895d
tree0fb8313b432b69347c1203249b06014941dca822
parentf7370699fbbb18f97442d6f47cc2d478a911ad6f
Input: ucb1400_ts - fix a misleading function name

The driver for UCB1400 touchscreen controllers contains a function named
ucb1400_ts_pen_down(), but it returns 0 if the pen is down and 1 if it's up.
This causes confusion, especially since it's used as a boolean truth value
later in the code. This patch renames it.

Signed-off-by: Hans J. Koch <hjk@linutronix.de>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/touchscreen/ucb1400_ts.c