summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2011-07-08 14:26:16 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2011-07-08 14:26:16 +1000
commitf5aede2ed48f1cc7266e792b02f509f7b207e2d6 (patch)
tree4903afb05f9b5e95c199b27f0968babaa438a482
parent30bf5a6bb20b8ad703f305bcde0ade2a99328b6c (diff)
Don't override the device name.
The device name comes from the xorg.conf (or the config backend). If you're capable of setting the device name in the config, you can set it in the Identifier line as well. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--src/xf86PM.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/xf86PM.c b/src/xf86PM.c
index edcf6f8..97e2134 100644
--- a/src/xf86PM.c
+++ b/src/xf86PM.c
@@ -492,9 +492,6 @@ PenMountPreInit(InputDriverPtr drv, InputInfoPtr pInfo, int flags)
goto SetupProc_fail;
}
- /* this results in an xstrdup that must be freed later */
- pInfo->name = xf86SetStrOption( pInfo->options, "DeviceName", "PenMount");
-
return Success;
SetupProc_fail: