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
59b4cd42
Commit
59b4cd42
authored
Dec 10, 2012
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'asoc/topic/wm8741' into asoc-next
parents
753ad46e
fd64c455
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sound/soc/codecs/wm8741.c
sound/soc/codecs/wm8741.c
+2
-2
No files found.
sound/soc/codecs/wm8741.c
View file @
59b4cd42
...
...
@@ -522,7 +522,7 @@ static int wm8741_i2c_probe(struct i2c_client *i2c,
return
ret
;
}
wm8741
->
regmap
=
regmap_init_i2c
(
i2c
,
&
wm8741_regmap
);
wm8741
->
regmap
=
devm_
regmap_init_i2c
(
i2c
,
&
wm8741_regmap
);
if
(
IS_ERR
(
wm8741
->
regmap
))
{
ret
=
PTR_ERR
(
wm8741
->
regmap
);
dev_err
(
&
i2c
->
dev
,
"Failed to init regmap: %d
\n
"
,
ret
);
...
...
@@ -582,7 +582,7 @@ static int __devinit wm8741_spi_probe(struct spi_device *spi)
return
ret
;
}
wm8741
->
regmap
=
regmap_init_spi
(
spi
,
&
wm8741_regmap
);
wm8741
->
regmap
=
devm_
regmap_init_spi
(
spi
,
&
wm8741_regmap
);
if
(
IS_ERR
(
wm8741
->
regmap
))
{
ret
=
PTR_ERR
(
wm8741
->
regmap
);
dev_err
(
&
spi
->
dev
,
"Failed to init regmap: %d
\n
"
,
ret
);
...
...
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