diff options
author | Dmitry Torokhov <dtor@insightbb.com> | 2006-07-06 00:20:47 -0400 |
---|---|---|
committer | Dmitry Torokhov <dtor@insightbb.com> | 2006-07-06 00:20:47 -0400 |
commit | e9c8862f19958846dd0c7b39d0f6216aad6c7bee (patch) | |
tree | 667682c0dbbfd3678f79c06d59a17968f22cbfde /drivers/input | |
parent | e340221acda6bc0bf05a0ff6e6114902c4307670 (diff) | |
download | kernel_samsung_espresso10-e9c8862f19958846dd0c7b39d0f6216aad6c7bee.zip kernel_samsung_espresso10-e9c8862f19958846dd0c7b39d0f6216aad6c7bee.tar.gz kernel_samsung_espresso10-e9c8862f19958846dd0c7b39d0f6216aad6c7bee.tar.bz2 |
Input: remove accept method from input_dev
This method used to enforce exclusive access to iforce devices,
but presenlty there are no known users of this method.
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input')
-rw-r--r-- | drivers/input/evdev.c | 4 | ||||
-rw-r--r-- | drivers/input/input.c | 9 |
2 files changed, 0 insertions, 13 deletions
diff --git a/drivers/input/evdev.c b/drivers/input/evdev.c index a29d5ce..2426a5d 100644 --- a/drivers/input/evdev.c +++ b/drivers/input/evdev.c @@ -127,14 +127,10 @@ static int evdev_open(struct inode * inode, struct file * file) { struct evdev_list *list; int i = iminor(inode) - EVDEV_MINOR_BASE; - int accept_err; if (i >= EVDEV_MINORS || !evdev_table[i] || !evdev_table[i]->exist) return -ENODEV; - if ((accept_err = input_accept_process(&(evdev_table[i]->handle), file))) - return accept_err; - if (!(list = kzalloc(sizeof(struct evdev_list), GFP_KERNEL))) return -ENOMEM; diff --git a/drivers/input/input.c b/drivers/input/input.c index a90486f..c2e4d9b 100644 --- a/drivers/input/input.c +++ b/drivers/input/input.c @@ -197,15 +197,6 @@ static void input_repeat_key(unsigned long data) mod_timer(&dev->timer, jiffies + msecs_to_jiffies(dev->rep[REP_PERIOD])); } -int input_accept_process(struct input_handle *handle, struct file *file) -{ - if (handle->dev->accept) - return handle->dev->accept(handle->dev, file); - - return 0; -} -EXPORT_SYMBOL(input_accept_process); - int input_grab_device(struct input_handle *handle) { if (handle->dev->grab) |