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
2547203d
Commit
2547203d
authored
Jun 06, 2008
by
Dmitry Torokhov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Input: gameport - check return value of gameport_register_driver()
Signed-off-by:
Dmitry Torokhov
<
dtor@mail.ru
>
parent
6902c0be
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
12 additions
and
25 deletions
+12
-25
drivers/input/joystick/a3d.c
drivers/input/joystick/a3d.c
+1
-2
drivers/input/joystick/adi.c
drivers/input/joystick/adi.c
+1
-2
drivers/input/joystick/analog.c
drivers/input/joystick/analog.c
+1
-3
drivers/input/joystick/cobra.c
drivers/input/joystick/cobra.c
+1
-2
drivers/input/joystick/gf2k.c
drivers/input/joystick/gf2k.c
+1
-2
drivers/input/joystick/grip.c
drivers/input/joystick/grip.c
+1
-2
drivers/input/joystick/grip_mp.c
drivers/input/joystick/grip_mp.c
+1
-2
drivers/input/joystick/guillemot.c
drivers/input/joystick/guillemot.c
+1
-2
drivers/input/joystick/interact.c
drivers/input/joystick/interact.c
+1
-2
drivers/input/joystick/joydump.c
drivers/input/joystick/joydump.c
+1
-2
drivers/input/joystick/sidewinder.c
drivers/input/joystick/sidewinder.c
+1
-2
drivers/input/joystick/tmdc.c
drivers/input/joystick/tmdc.c
+1
-2
No files found.
drivers/input/joystick/a3d.c
View file @
2547203d
...
...
@@ -414,8 +414,7 @@ static struct gameport_driver a3d_drv = {
static
int
__init
a3d_init
(
void
)
{
gameport_register_driver
(
&
a3d_drv
);
return
0
;
return
gameport_register_driver
(
&
a3d_drv
);
}
static
void
__exit
a3d_exit
(
void
)
...
...
drivers/input/joystick/adi.c
View file @
2547203d
...
...
@@ -572,8 +572,7 @@ static struct gameport_driver adi_drv = {
static
int
__init
adi_init
(
void
)
{
gameport_register_driver
(
&
adi_drv
);
return
0
;
return
gameport_register_driver
(
&
adi_drv
);
}
static
void
__exit
adi_exit
(
void
)
...
...
drivers/input/joystick/analog.c
View file @
2547203d
...
...
@@ -761,9 +761,7 @@ static struct gameport_driver analog_drv = {
static
int
__init
analog_init
(
void
)
{
analog_parse_options
();
gameport_register_driver
(
&
analog_drv
);
return
0
;
return
gameport_register_driver
(
&
analog_drv
);
}
static
void
__exit
analog_exit
(
void
)
...
...
drivers/input/joystick/cobra.c
View file @
2547203d
...
...
@@ -263,8 +263,7 @@ static struct gameport_driver cobra_drv = {
static
int
__init
cobra_init
(
void
)
{
gameport_register_driver
(
&
cobra_drv
);
return
0
;
return
gameport_register_driver
(
&
cobra_drv
);
}
static
void
__exit
cobra_exit
(
void
)
...
...
drivers/input/joystick/gf2k.c
View file @
2547203d
...
...
@@ -375,8 +375,7 @@ static struct gameport_driver gf2k_drv = {
static
int
__init
gf2k_init
(
void
)
{
gameport_register_driver
(
&
gf2k_drv
);
return
0
;
return
gameport_register_driver
(
&
gf2k_drv
);
}
static
void
__exit
gf2k_exit
(
void
)
...
...
drivers/input/joystick/grip.c
View file @
2547203d
...
...
@@ -426,8 +426,7 @@ static struct gameport_driver grip_drv = {
static
int
__init
grip_init
(
void
)
{
gameport_register_driver
(
&
grip_drv
);
return
0
;
return
gameport_register_driver
(
&
grip_drv
);
}
static
void
__exit
grip_exit
(
void
)
...
...
drivers/input/joystick/grip_mp.c
View file @
2547203d
...
...
@@ -689,8 +689,7 @@ static struct gameport_driver grip_drv = {
static
int
__init
grip_init
(
void
)
{
gameport_register_driver
(
&
grip_drv
);
return
0
;
return
gameport_register_driver
(
&
grip_drv
);
}
static
void
__exit
grip_exit
(
void
)
...
...
drivers/input/joystick/guillemot.c
View file @
2547203d
...
...
@@ -283,8 +283,7 @@ static struct gameport_driver guillemot_drv = {
static
int
__init
guillemot_init
(
void
)
{
gameport_register_driver
(
&
guillemot_drv
);
return
0
;
return
gameport_register_driver
(
&
guillemot_drv
);
}
static
void
__exit
guillemot_exit
(
void
)
...
...
drivers/input/joystick/interact.c
View file @
2547203d
...
...
@@ -317,8 +317,7 @@ static struct gameport_driver interact_drv = {
static
int
__init
interact_init
(
void
)
{
gameport_register_driver
(
&
interact_drv
);
return
0
;
return
gameport_register_driver
(
&
interact_drv
);
}
static
void
__exit
interact_exit
(
void
)
...
...
drivers/input/joystick/joydump.c
View file @
2547203d
...
...
@@ -161,8 +161,7 @@ static struct gameport_driver joydump_drv = {
static
int
__init
joydump_init
(
void
)
{
gameport_register_driver
(
&
joydump_drv
);
return
0
;
return
gameport_register_driver
(
&
joydump_drv
);
}
static
void
__exit
joydump_exit
(
void
)
...
...
drivers/input/joystick/sidewinder.c
View file @
2547203d
...
...
@@ -818,8 +818,7 @@ static struct gameport_driver sw_drv = {
static
int
__init
sw_init
(
void
)
{
gameport_register_driver
(
&
sw_drv
);
return
0
;
return
gameport_register_driver
(
&
sw_drv
);
}
static
void
__exit
sw_exit
(
void
)
...
...
drivers/input/joystick/tmdc.c
View file @
2547203d
...
...
@@ -438,8 +438,7 @@ static struct gameport_driver tmdc_drv = {
static
int
__init
tmdc_init
(
void
)
{
gameport_register_driver
(
&
tmdc_drv
);
return
0
;
return
gameport_register_driver
(
&
tmdc_drv
);
}
static
void
__exit
tmdc_exit
(
void
)
...
...
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