Re: [PATCH] trivial: ucb1400_ts: Fix a misleading function name

From: Dmitry Torokhov
Date: Sun Jul 12 2009 - 23:48:01 EST


On Thu, Jul 09, 2009 at 04:46:21PM +0200, Hans J. Koch wrote:
> 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@xxxxxxxxxxxxx>
>

Applied to 'next;' branch, thank you Hans.

--
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/