Revision: 685
http://svn.sourceforge.net/hackndev/?rev=685&view=rev
Author: holger_bocklet
Date: 2006-11-28 12:14:20 -0800 (Tue, 28 Nov 2006)
Log Message:
-----------
cleanup for t|c touchscreen driver
Modified Paths:
--------------
linux4palm/linux/trunk/arch/arm/mach-pxa/palmtc/ptc_ucb1400_ts.c
Modified: linux4palm/linux/trunk/arch/arm/mach-pxa/palmtc/ptc_ucb1400_ts.c
===================================================================
--- linux4palm/linux/trunk/arch/arm/mach-pxa/palmtc/ptc_ucb1400_ts.c 2006-11-28 19:59:12 UTC (rev 684)
+++ linux4palm/linux/trunk/arch/arm/mach-pxa/palmtc/ptc_ucb1400_ts.c 2006-11-28 20:14:20 UTC (rev 685)
@@ -6,7 +6,7 @@
* Author: Holger Bocklet <bit...@gm...>
*
* There's noting new under the sun,
- * So this peace of software ist derived of
+ * So this piece of software ist derived of
* - the ucb1x00-ts by Russell King, Pavel Machek and
* - patches for the ucb1400 by Nicols Pitre and
* - the wm97xx-driver by Liam Girdwood
@@ -14,36 +14,25 @@
#include <linux/kernel.h>
#include <linux/module.h>
-#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/input.h>
#include <linux/jiffies.h>
-#include <linux/device.h>
-#include <linux/workqueue.h>
#include <linux/moduleparam.h>
#include <linux/wait.h>
#include <asm/delay.h>
-#include <asm/system.h>
#include <asm/arch/hardware.h>
#include <asm/arch/pxa-regs.h>
#include <asm/arch/irqs.h>
-#include <asm/mach-types.h>
-#include <asm/mach/arch.h>
-#include <asm/mach/map.h>
-
#include <sound/driver.h>
#include <sound/core.h>
-#include <sound/initval.h>
#include <sound/ac97_codec.h>
#include <linux/config.h>
-#include <linux/slab.h>
#include <linux/errno.h>
#include <linux/kthread.h>
#include <linux/device.h>
-#include <linux/mutex.h>
#include "ptc_ucb1400.h"
@@ -65,8 +54,6 @@
u16 y;
};
-//DECLARE_MUTEX(battery_update_mutex);
-
// Pen sampling frequency (Hz) while touched.
// more is not possible cause jiffies are at 100Hz in mach-pxa (why ???)
static int cont_rate = 100;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|