summaryrefslogtreecommitdiffstats
path: root/drivers/input
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2012-10-08 18:07:24 +0200
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2012-10-08 18:37:41 +0200
commit1c74585eccbef8fbdac494bfb2abb768aab886d3 (patch)
treed9cc776145ae4101082d7dc0229701f343880561 /drivers/input
parentInput: mousedev - factor out psaux code to reduce #ifdefery (diff)
downloadlinux-1c74585eccbef8fbdac494bfb2abb768aab886d3.tar.xz
linux-1c74585eccbef8fbdac494bfb2abb768aab886d3.zip
Input: mousedev - reformat structure initializers
Reformat structure initializers to match the rest of input handlers Reviewed-by: David Herrmann <dh.herrmann@googlemail.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/mousedev.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/drivers/input/mousedev.c b/drivers/input/mousedev.c
index 8d3942fe1c39..91f622058bab 100644
--- a/drivers/input/mousedev.c
+++ b/drivers/input/mousedev.c
@@ -782,14 +782,14 @@ static unsigned int mousedev_poll(struct file *file, poll_table *wait)
}
static const struct file_operations mousedev_fops = {
- .owner = THIS_MODULE,
- .read = mousedev_read,
- .write = mousedev_write,
- .poll = mousedev_poll,
- .open = mousedev_open,
- .release = mousedev_release,
- .fasync = mousedev_fasync,
- .llseek = noop_llseek,
+ .owner = THIS_MODULE,
+ .read = mousedev_read,
+ .write = mousedev_write,
+ .poll = mousedev_poll,
+ .open = mousedev_open,
+ .release = mousedev_release,
+ .fasync = mousedev_fasync,
+ .llseek = noop_llseek,
};
static int mousedev_install_chrdev(struct mousedev *mousedev)
@@ -1051,13 +1051,13 @@ static const struct input_device_id mousedev_ids[] = {
MODULE_DEVICE_TABLE(input, mousedev_ids);
static struct input_handler mousedev_handler = {
- .event = mousedev_event,
- .connect = mousedev_connect,
- .disconnect = mousedev_disconnect,
- .fops = &mousedev_fops,
- .minor = MOUSEDEV_MINOR_BASE,
- .name = "mousedev",
- .id_table = mousedev_ids,
+ .event = mousedev_event,
+ .connect = mousedev_connect,
+ .disconnect = mousedev_disconnect,
+ .fops = &mousedev_fops,
+ .minor = MOUSEDEV_MINOR_BASE,
+ .name = "mousedev",
+ .id_table = mousedev_ids,
};
#ifdef CONFIG_INPUT_MOUSEDEV_PSAUX