Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
05f091ab
Commit
05f091ab
authored
May 29, 2005
by
Dmitry Torokhov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Input: whitespace fixes in drivers/usb/input
Signed-off-by:
Dmitry Torokhov
<
dtor@mail.ru
>
parent
ab0c3443
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
210 additions
and
218 deletions
+210
-218
drivers/usb/input/aiptek.c
drivers/usb/input/aiptek.c
+9
-9
drivers/usb/input/ati_remote.c
drivers/usb/input/ati_remote.c
+110
-111
drivers/usb/input/hid-core.c
drivers/usb/input/hid-core.c
+2
-2
drivers/usb/input/hid-debug.h
drivers/usb/input/hid-debug.h
+8
-8
drivers/usb/input/hid-input.c
drivers/usb/input/hid-input.c
+8
-8
drivers/usb/input/hid-lgff.c
drivers/usb/input/hid-lgff.c
+9
-9
drivers/usb/input/hid.h
drivers/usb/input/hid.h
+9
-9
drivers/usb/input/hiddev.c
drivers/usb/input/hiddev.c
+28
-28
drivers/usb/input/itmtouch.c
drivers/usb/input/itmtouch.c
+24
-31
drivers/usb/input/kbtab.c
drivers/usb/input/kbtab.c
+3
-3
No files found.
drivers/usb/input/aiptek.c
View file @
05f091ab
drivers/usb/input/ati_remote.c
View file @
05f091ab
...
...
@@ -489,8 +489,7 @@ static void ati_remote_input_report(struct urb *urb, struct pt_regs *regs)
(
ati_remote
->
old_data
[
1
]
==
data
[
2
])
&&
((
ati_remote
->
old_jiffies
+
FILTER_TIME
)
>
jiffies
))
{
ati_remote
->
repeat_count
++
;
}
else
{
}
else
{
ati_remote
->
repeat_count
=
0
;
}
...
...
drivers/usb/input/hid-core.c
View file @
05f091ab
drivers/usb/input/hid-debug.h
View file @
05f091ab
drivers/usb/input/hid-input.c
View file @
05f091ab
drivers/usb/input/hid-lgff.c
View file @
05f091ab
drivers/usb/input/hid.h
View file @
05f091ab
drivers/usb/input/hiddev.c
View file @
05f091ab
drivers/usb/input/itmtouch.c
View file @
05f091ab
...
...
@@ -142,8 +142,7 @@ static int itmtouch_open(struct input_dev *input)
itmtouch
->
readurb
->
dev
=
itmtouch
->
usbdev
;
if
(
usb_submit_urb
(
itmtouch
->
readurb
,
GFP_KERNEL
))
{
if
(
usb_submit_urb
(
itmtouch
->
readurb
,
GFP_KERNEL
))
{
itmtouch
->
users
--
;
return
-
EIO
;
}
...
...
@@ -224,14 +223,8 @@ static int itmtouch_probe(struct usb_interface *intf, const struct usb_device_id
return
-
ENOMEM
;
}
usb_fill_int_urb
(
itmtouch
->
readurb
,
itmtouch
->
usbdev
,
pipe
,
itmtouch
->
rbuf
,
maxp
,
itmtouch_irq
,
itmtouch
,
endpoint
->
bInterval
);
usb_fill_int_urb
(
itmtouch
->
readurb
,
itmtouch
->
usbdev
,
pipe
,
itmtouch
->
rbuf
,
maxp
,
itmtouch_irq
,
itmtouch
,
endpoint
->
bInterval
);
input_register_device
(
&
itmtouch
->
inputdev
);
...
...
drivers/usb/input/kbtab.c
View file @
05f091ab
...
...
@@ -79,7 +79,7 @@ static void kbtab_irq(struct urb *urb, struct pt_regs *regs)
/*input_report_key(dev, BTN_TOUCH , data[0] & 0x01);*/
input_report_key
(
dev
,
BTN_RIGHT
,
data
[
0
]
&
0x02
);
if
(
-
1
==
kb_pressure_click
){
if
(
-
1
==
kb_pressure_click
)
{
input_report_abs
(
dev
,
ABS_PRESSURE
,
kbtab
->
pressure
);
}
else
{
input_report_key
(
dev
,
BTN_LEFT
,
(
kbtab
->
pressure
>
kb_pressure_click
)
?
1
:
0
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment