aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/mouse/pc110pad.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dtor_core@ameritech.net>2005-05-29 03:28:29 -0400
committerDmitry Torokhov <dtor_core@ameritech.net>2005-05-29 03:28:29 -0400
commit968ac842c4946abcd6ae623414783548672177f5 (patch)
tree1df749e9ce8c23c6994840e4ef126f9125cce727 /drivers/input/mouse/pc110pad.c
parent71387bd77f662a83b18ff8de676e9d9531c58894 (diff)
Input: whitespace fixes in drivers/input/mouse
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/mouse/pc110pad.c')
-rw-r--r--drivers/input/mouse/pc110pad.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/input/mouse/pc110pad.c b/drivers/input/mouse/pc110pad.c
index 0c74918fe254..fe47dce28d29 100644
--- a/drivers/input/mouse/pc110pad.c
+++ b/drivers/input/mouse/pc110pad.c
@@ -4,7 +4,7 @@
4 * Copyright (c) 2000-2001 Vojtech Pavlik 4 * Copyright (c) 2000-2001 Vojtech Pavlik
5 * 5 *
6 * Based on the work of: 6 * Based on the work of:
7 * Alan Cox Robin O'Leary 7 * Alan Cox Robin O'Leary
8 */ 8 */
9 9
10/* 10/*
@@ -74,7 +74,7 @@ static irqreturn_t pc110pad_interrupt(int irq, void *ptr, struct pt_regs *regs)
74 74
75 if (pc110pad_count < 3) 75 if (pc110pad_count < 3)
76 return IRQ_HANDLED; 76 return IRQ_HANDLED;
77 77
78 input_regs(&pc110pad_dev, regs); 78 input_regs(&pc110pad_dev, regs);
79 input_report_key(&pc110pad_dev, BTN_TOUCH, 79 input_report_key(&pc110pad_dev, BTN_TOUCH,
80 pc110pad_data[0] & 0x01); 80 pc110pad_data[0] & 0x01);
@@ -145,7 +145,7 @@ static int __init pc110pad_init(void)
145 145
146 pc110pad_dev.absmax[ABS_X] = 0x1ff; 146 pc110pad_dev.absmax[ABS_X] = 0x1ff;
147 pc110pad_dev.absmax[ABS_Y] = 0x0ff; 147 pc110pad_dev.absmax[ABS_Y] = 0x0ff;
148 148
149 pc110pad_dev.open = pc110pad_open; 149 pc110pad_dev.open = pc110pad_open;
150 pc110pad_dev.close = pc110pad_close; 150 pc110pad_dev.close = pc110pad_close;
151 151
@@ -156,17 +156,17 @@ static int __init pc110pad_init(void)
156 pc110pad_dev.id.product = 0x0001; 156 pc110pad_dev.id.product = 0x0001;
157 pc110pad_dev.id.version = 0x0100; 157 pc110pad_dev.id.version = 0x0100;
158 158
159 input_register_device(&pc110pad_dev); 159 input_register_device(&pc110pad_dev);
160 160
161 printk(KERN_INFO "input: %s at %#x irq %d\n", 161 printk(KERN_INFO "input: %s at %#x irq %d\n",
162 pc110pad_name, pc110pad_io, pc110pad_irq); 162 pc110pad_name, pc110pad_io, pc110pad_irq);
163 163
164 return 0; 164 return 0;
165} 165}
166 166
167static void __exit pc110pad_exit(void) 167static void __exit pc110pad_exit(void)
168{ 168{
169 input_unregister_device(&pc110pad_dev); 169 input_unregister_device(&pc110pad_dev);
170 170
171 outb(PC110PAD_OFF, pc110pad_io + 2); 171 outb(PC110PAD_OFF, pc110pad_io + 2);
172 172