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
bbdd3915
Commit
bbdd3915
authored
Apr 09, 2012
by
Mark Brown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ASoC: wm1250-ev1: Convert to module_i2c_driver
Signed-off-by:
Mark Brown
<
broonie@opensource.wolfsonmicro.com
>
parent
82ef0ae4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
17 deletions
+1
-17
sound/soc/codecs/wm1250-ev1.c
sound/soc/codecs/wm1250-ev1.c
+1
-17
No files found.
sound/soc/codecs/wm1250-ev1.c
View file @
bbdd3915
...
@@ -215,23 +215,7 @@ static struct i2c_driver wm1250_ev1_i2c_driver = {
...
@@ -215,23 +215,7 @@ static struct i2c_driver wm1250_ev1_i2c_driver = {
.
id_table
=
wm1250_ev1_i2c_id
,
.
id_table
=
wm1250_ev1_i2c_id
,
};
};
static
int
__init
wm1250_ev1_modinit
(
void
)
module_i2c_driver
(
wm1250_ev1_i2c_driver
);
{
int
ret
=
0
;
ret
=
i2c_add_driver
(
&
wm1250_ev1_i2c_driver
);
if
(
ret
!=
0
)
pr_err
(
"Failed to register WM1250-EV1 I2C driver: %d
\n
"
,
ret
);
return
ret
;
}
module_init
(
wm1250_ev1_modinit
);
static
void
__exit
wm1250_ev1_exit
(
void
)
{
i2c_del_driver
(
&
wm1250_ev1_i2c_driver
);
}
module_exit
(
wm1250_ev1_exit
);
MODULE_AUTHOR
(
"Mark Brown <broonie@opensource.wolfsonmicro.com>"
);
MODULE_AUTHOR
(
"Mark Brown <broonie@opensource.wolfsonmicro.com>"
);
MODULE_DESCRIPTION
(
"WM1250-EV1 audio I/O module driver"
);
MODULE_DESCRIPTION
(
"WM1250-EV1 audio I/O module 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