/* Return non-zero if both readings show that the pen is down.  */
static bool get_down(unsigned long data0, unsigned long data1)
/* Return non-zero if both readings show that the pen is down.  */
static bool get_down(unsigned long data0, unsigned long data1)
{
	return (!(data0 & S3C2410_ADCDAT0_UPDOWN) &&
		!(data1 & S3C2410_ADCDAT0_UPDOWN));
}