[PATCH aiptek 11/18] Drop XCONFIG_PROBED and XCONFIG_GIVEN defines.
Peter Hutterer
peter.hutterer at who-t.net
Wed Dec 1 18:13:42 PST 2010
XCONFIG_PROBED is the same as X_PROBED.
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
src/xf86Aiptek.c | 8 ++++----
src/xf86Aiptek.h | 3 ---
2 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/src/xf86Aiptek.c b/src/xf86Aiptek.c
index c261baa..cb67bf1 100644
--- a/src/xf86Aiptek.c
+++ b/src/xf86Aiptek.c
@@ -983,15 +983,15 @@ xf86AiptekHIDOpen(InputInfoPtr pInfo)
}
ioctl(pInfo->fd, EVIOCGNAME(sizeof(name)), name);
- xf86Msg(X_ERROR, "%s HID Device name: \"%s\"\n", XCONFIG_PROBED, name);
+ xf86Msg(X_PROBED, "HID Device name: \"%s\"\n", name);
ioctl(pInfo->fd, EVIOCGVERSION, &version);
- xf86Msg(X_ERROR, "%s HID Driver Version: %d.%d.%d\n", XCONFIG_PROBED,
+ xf86Msg(X_PROBED, "HID Driver Version: %d.%d.%d\n",
version>>16, (version>>8) & 0xff, version & 0xff);
- xf86Msg(X_ERROR, "%s HID Driver knows it has %d devices configured\n", XCONFIG_PROBED,
+ xf86Msg(X_PROBED, "HID Driver knows it has %d devices configured\n",
common->numDevices);
- xf86Msg(X_ERROR, "%s HID Driver is using %d as the fd\n", XCONFIG_PROBED, pInfo->fd);
+ xf86Msg(X_PROBED, "HID Driver is using %d as the fd\n", pInfo->fd);
for (i = 0; i < common->numDevices; ++i)
{
diff --git a/src/xf86Aiptek.h b/src/xf86Aiptek.h
index f51456e..c6c2c08 100644
--- a/src/xf86Aiptek.h
+++ b/src/xf86Aiptek.h
@@ -82,9 +82,6 @@
# include <xf86Module.h>
#endif
-#define XCONFIG_PROBED "(==)"
-#define XCONFIG_GIVEN "(**)"
-
#define xf86Verbose 1
#define CURSOR_SECTION_NAME "AiptekCursor"
--
1.7.3.2
More information about the xorg-devel
mailing list