aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/touchpad
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@unormal.org>2012-09-26 20:18:18 +0200
committerJoel Bodenmann <joel@unormal.org>2012-09-26 20:18:18 +0200
commit1003c37e0b468f04c6b328e000de2a5c109bad82 (patch)
tree6d70edd0aa2b958ef835a2a4955f5fed6bb7ace8 /drivers/touchpad
parent1d6a1b5338f3a1b5e95161793013f81b852d1a29 (diff)
downloaduGFX-1003c37e0b468f04c6b328e000de2a5c109bad82.tar.gz
uGFX-1003c37e0b468f04c6b328e000de2a5c109bad82.tar.bz2
uGFX-1003c37e0b468f04c6b328e000de2a5c109bad82.zip
cleanups
Diffstat (limited to 'drivers/touchpad')
-rw-r--r--drivers/touchpad/ADS7843/touchpad_lld.c9
-rw-r--r--drivers/touchpad/XPT2046/touchpad_lld.c9
2 files changed, 0 insertions, 18 deletions
diff --git a/drivers/touchpad/ADS7843/touchpad_lld.c b/drivers/touchpad/ADS7843/touchpad_lld.c
index 50f73e12..eeaf11b5 100644
--- a/drivers/touchpad/ADS7843/touchpad_lld.c
+++ b/drivers/touchpad/ADS7843/touchpad_lld.c
@@ -36,15 +36,6 @@
/* Driver local definitions. */
/*===========================================================================*/
-#ifdef UNUSED
-#elif defined(__GNUC__)
-# define UNUSED(x) UNUSED_ ## x __attribute__((unused))
-#elif defined(__LCLINT__)
-# define UNUSED(x) /*@unused@*/ x
-#else
-# define UNUSED(x) x
-#endif
-
/*===========================================================================*/
/* Driver exported variables. */
/*===========================================================================*/
diff --git a/drivers/touchpad/XPT2046/touchpad_lld.c b/drivers/touchpad/XPT2046/touchpad_lld.c
index 50f73e12..eeaf11b5 100644
--- a/drivers/touchpad/XPT2046/touchpad_lld.c
+++ b/drivers/touchpad/XPT2046/touchpad_lld.c
@@ -36,15 +36,6 @@
/* Driver local definitions. */
/*===========================================================================*/
-#ifdef UNUSED
-#elif defined(__GNUC__)
-# define UNUSED(x) UNUSED_ ## x __attribute__((unused))
-#elif defined(__LCLINT__)
-# define UNUSED(x) /*@unused@*/ x
-#else
-# define UNUSED(x) x
-#endif
-
/*===========================================================================*/
/* Driver exported variables. */
/*===========================================================================*/