diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-10-08 12:07:24 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-10-08 12:37:41 -0400 |
commit | 1c74585eccbef8fbdac494bfb2abb768aab886d3 (patch) | |
tree | d9cc776145ae4101082d7dc0229701f343880561 /drivers/input/mousedev.c | |
parent | a2cb1191f4733134b21918b6098512a2e2e48e61 (diff) |
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/mousedev.c')
-rw-r--r-- | drivers/input/mousedev.c | 30 |
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) | |||
782 | } | 782 | } |
783 | 783 | ||
784 | static const struct file_operations mousedev_fops = { | 784 | static const struct file_operations mousedev_fops = { |
785 | .owner = THIS_MODULE, | 785 | .owner = THIS_MODULE, |
786 | .read = mousedev_read, | 786 | .read = mousedev_read, |
787 | .write = mousedev_write, | 787 | .write = mousedev_write, |
788 | .poll = mousedev_poll, | 788 | .poll = mousedev_poll, |
789 | .open = mousedev_open, | 789 | .open = mousedev_open, |
790 | .release = mousedev_release, | 790 | .release = mousedev_release, |
791 | .fasync = mousedev_fasync, | 791 | .fasync = mousedev_fasync, |
792 | .llseek = noop_llseek, | 792 | .llseek = noop_llseek, |
793 | }; | 793 | }; |
794 | 794 | ||
795 | static int mousedev_install_chrdev(struct mousedev *mousedev) | 795 | static int mousedev_install_chrdev(struct mousedev *mousedev) |
@@ -1051,13 +1051,13 @@ static const struct input_device_id mousedev_ids[] = { | |||
1051 | MODULE_DEVICE_TABLE(input, mousedev_ids); | 1051 | MODULE_DEVICE_TABLE(input, mousedev_ids); |
1052 | 1052 | ||
1053 | static struct input_handler mousedev_handler = { | 1053 | static struct input_handler mousedev_handler = { |
1054 | .event = mousedev_event, | 1054 | .event = mousedev_event, |
1055 | .connect = mousedev_connect, | 1055 | .connect = mousedev_connect, |
1056 | .disconnect = mousedev_disconnect, | 1056 | .disconnect = mousedev_disconnect, |
1057 | .fops = &mousedev_fops, | 1057 | .fops = &mousedev_fops, |
1058 | .minor = MOUSEDEV_MINOR_BASE, | 1058 | .minor = MOUSEDEV_MINOR_BASE, |
1059 | .name = "mousedev", | 1059 | .name = "mousedev", |
1060 | .id_table = mousedev_ids, | 1060 | .id_table = mousedev_ids, |
1061 | }; | 1061 | }; |
1062 | 1062 | ||
1063 | #ifdef CONFIG_INPUT_MOUSEDEV_PSAUX | 1063 | #ifdef CONFIG_INPUT_MOUSEDEV_PSAUX |