Commit:     ff141a03e1909db719c6afd3230c2f16a4141860
Parent:     31ea7ff0f880dc3f4ad94e85c1432d4b910c9fca
Author:     Richard Purdie <[EMAIL PROTECTED]>
AuthorDate: Sat Feb 10 01:29:11 2007 -0500
Committer:  Dmitry Torokhov <[EMAIL PROTECTED]>
CommitDate: Sat Feb 10 01:29:11 2007 -0500

    Input: tsdev - schedule removal
    Compaq touchscreen emulation (drivers/input/tsdev.c) is old,
    was obsolete when it was written by the authors own admission
    and much better userspace solutions like tslib now exist.
    The name is also confusing.
    Signed-off-by: Richard Purdie <[EMAIL PROTECTED]>
    Acked-by: James Simmons <[EMAIL PROTECTED]>
    Signed-off-by: Dmitry Torokhov <[EMAIL PROTECTED]>
 Documentation/feature-removal-schedule.txt |   15 +++++++++++++++
 drivers/input/tsdev.c                      |    4 ++++
 2 files changed, 19 insertions(+), 0 deletions(-)

diff --git a/Documentation/feature-removal-schedule.txt 
index fa844fd..5d140dc 100644
--- a/Documentation/feature-removal-schedule.txt
+++ b/Documentation/feature-removal-schedule.txt
@@ -312,3 +312,18 @@ Why:    In kernel tree version of driver is unmaintained. 
Sk98lin driver
        replaced by the skge driver. 
 Who:    Stephen Hemminger <[EMAIL PROTECTED]>
+What:  Compaq touchscreen device emulation
+When:  Oct 2007
+Files: drivers/input/tsdev.c
+Why:   The code says it was obsolete when it was written in 2001.
+       tslib is a userspace library which does anything tsdev can do and
+       much more besides in userspace where this code belongs. There is no
+       longer any need for tsdev and applications should have converted to
+       use tslib by now.
+       The name "tsdev" is also extremely confusing and lots of people have
+       it loaded when they don't need/use it.
+Who:   Richard Purdie <[EMAIL PROTECTED]>
diff --git a/drivers/input/tsdev.c b/drivers/input/tsdev.c
index a730c46..0300dca 100644
--- a/drivers/input/tsdev.c
+++ b/drivers/input/tsdev.c
@@ -151,6 +151,10 @@ static int tsdev_open(struct inode *inode, struct file 
        int i = iminor(inode) - TSDEV_MINOR_BASE;
        struct tsdev_list *list;
+       printk(KERN_WARNING "tsdev (compaq touchscreen emulation) is scheduled "
+               "for removal.\nSee Documentation/feature-removal-schedule.txt "
+               "for details.\n");
        if (i >= TSDEV_MINORS || !tsdev_table[i & TSDEV_MINOR_MASK])
                return -ENODEV;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to