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
Kirill Smelkov
linux
Commits
4a533835
Commit
4a533835
authored
Mar 16, 2012
by
Dmitry Torokhov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Input: synaptics_usb - switch to module_usb_driver()
Signed-off-by:
Dmitry Torokhov
<
dtor@mail.ru
>
parent
1b92c1cf
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
57 deletions
+5
-57
drivers/input/misc/gp2ap002a00f.c
drivers/input/misc/gp2ap002a00f.c
+1
-12
drivers/input/mouse/synaptics_usb.c
drivers/input/mouse/synaptics_usb.c
+1
-12
drivers/input/touchscreen/auo-pixcir-ts.c
drivers/input/touchscreen/auo-pixcir-ts.c
+1
-11
drivers/input/touchscreen/cyttsp_i2c.c
drivers/input/touchscreen/cyttsp_i2c.c
+1
-11
drivers/input/touchscreen/pixcir_i2c_ts.c
drivers/input/touchscreen/pixcir_i2c_ts.c
+1
-11
No files found.
drivers/input/misc/gp2ap002a00f.c
View file @
4a533835
...
@@ -281,18 +281,7 @@ static struct i2c_driver gp2a_i2c_driver = {
...
@@ -281,18 +281,7 @@ static struct i2c_driver gp2a_i2c_driver = {
.
id_table
=
gp2a_i2c_id
,
.
id_table
=
gp2a_i2c_id
,
};
};
static
int
__init
gp2a_init
(
void
)
module_i2c_driver
(
gp2a_i2c_driver
);
{
return
i2c_add_driver
(
&
gp2a_i2c_driver
);
}
static
void
__exit
gp2a_exit
(
void
)
{
i2c_del_driver
(
&
gp2a_i2c_driver
);
}
module_init
(
gp2a_init
);
module_exit
(
gp2a_exit
);
MODULE_AUTHOR
(
"Courtney Cavin <courtney.cavin@sonyericsson.com>"
);
MODULE_AUTHOR
(
"Courtney Cavin <courtney.cavin@sonyericsson.com>"
);
MODULE_DESCRIPTION
(
"Sharp GP2AP002A00F I2C Proximity/Opto sensor driver"
);
MODULE_DESCRIPTION
(
"Sharp GP2AP002A00F I2C Proximity/Opto sensor driver"
);
...
...
drivers/input/mouse/synaptics_usb.c
View file @
4a533835
...
@@ -548,18 +548,7 @@ static struct usb_driver synusb_driver = {
...
@@ -548,18 +548,7 @@ static struct usb_driver synusb_driver = {
.
supports_autosuspend
=
1
,
.
supports_autosuspend
=
1
,
};
};
static
int
__init
synusb_init
(
void
)
module_usb_driver
(
synusb_driver
);
{
return
usb_register
(
&
synusb_driver
);
}
static
void
__exit
synusb_exit
(
void
)
{
usb_deregister
(
&
synusb_driver
);
}
module_init
(
synusb_init
);
module_exit
(
synusb_exit
);
MODULE_AUTHOR
(
"Rob Miller <rob@inpharmatica.co.uk>, "
MODULE_AUTHOR
(
"Rob Miller <rob@inpharmatica.co.uk>, "
"Ron Lee <ron@debian.org>, "
"Ron Lee <ron@debian.org>, "
...
...
drivers/input/touchscreen/auo-pixcir-ts.c
View file @
4a533835
...
@@ -635,17 +635,7 @@ static struct i2c_driver auo_pixcir_driver = {
...
@@ -635,17 +635,7 @@ static struct i2c_driver auo_pixcir_driver = {
.
id_table
=
auo_pixcir_idtable
,
.
id_table
=
auo_pixcir_idtable
,
};
};
static
int
__init
auo_pixcir_init
(
void
)
module_i2c_driver
(
auo_pixcir_driver
);
{
return
i2c_add_driver
(
&
auo_pixcir_driver
);
}
module_init
(
auo_pixcir_init
);
static
void
__exit
auo_pixcir_exit
(
void
)
{
i2c_del_driver
(
&
auo_pixcir_driver
);
}
module_exit
(
auo_pixcir_exit
);
MODULE_DESCRIPTION
(
"AUO-PIXCIR touchscreen driver"
);
MODULE_DESCRIPTION
(
"AUO-PIXCIR touchscreen driver"
);
MODULE_LICENSE
(
"GPL v2"
);
MODULE_LICENSE
(
"GPL v2"
);
...
...
drivers/input/touchscreen/cyttsp_i2c.c
View file @
4a533835
...
@@ -128,17 +128,7 @@ static struct i2c_driver cyttsp_i2c_driver = {
...
@@ -128,17 +128,7 @@ static struct i2c_driver cyttsp_i2c_driver = {
.
id_table
=
cyttsp_i2c_id
,
.
id_table
=
cyttsp_i2c_id
,
};
};
static
int
__init
cyttsp_i2c_init
(
void
)
module_i2c_driver
(
cyttsp_i2c_driver
);
{
return
i2c_add_driver
(
&
cyttsp_i2c_driver
);
}
module_init
(
cyttsp_i2c_init
);
static
void
__exit
cyttsp_i2c_exit
(
void
)
{
return
i2c_del_driver
(
&
cyttsp_i2c_driver
);
}
module_exit
(
cyttsp_i2c_exit
);
MODULE_LICENSE
(
"GPL"
);
MODULE_LICENSE
(
"GPL"
);
MODULE_DESCRIPTION
(
"Cypress TrueTouch(R) Standard Product (TTSP) I2C driver"
);
MODULE_DESCRIPTION
(
"Cypress TrueTouch(R) Standard Product (TTSP) I2C driver"
);
...
...
drivers/input/touchscreen/pixcir_i2c_ts.c
View file @
4a533835
...
@@ -222,17 +222,7 @@ static struct i2c_driver pixcir_i2c_ts_driver = {
...
@@ -222,17 +222,7 @@ static struct i2c_driver pixcir_i2c_ts_driver = {
.
id_table
=
pixcir_i2c_ts_id
,
.
id_table
=
pixcir_i2c_ts_id
,
};
};
static
int
__init
pixcir_i2c_ts_init
(
void
)
module_i2c_driver
(
pixcir_i2c_ts_driver
);
{
return
i2c_add_driver
(
&
pixcir_i2c_ts_driver
);
}
module_init
(
pixcir_i2c_ts_init
);
static
void
__exit
pixcir_i2c_ts_exit
(
void
)
{
i2c_del_driver
(
&
pixcir_i2c_ts_driver
);
}
module_exit
(
pixcir_i2c_ts_exit
);
MODULE_AUTHOR
(
"Jianchun Bian <jcbian@pixcir.com.cn>, Dequan Meng <dqmeng@pixcir.com.cn>"
);
MODULE_AUTHOR
(
"Jianchun Bian <jcbian@pixcir.com.cn>, Dequan Meng <dqmeng@pixcir.com.cn>"
);
MODULE_DESCRIPTION
(
"Pixcir I2C Touchscreen Driver"
);
MODULE_DESCRIPTION
(
"Pixcir I2C Touchscreen Driver"
);
...
...
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