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
44784cb3
Commit
44784cb3
authored
Feb 06, 2013
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'regulator/fix/of' into tmp
parents
98380536
a2f95c36
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
drivers/regulator/of_regulator.c
drivers/regulator/of_regulator.c
+6
-0
No files found.
drivers/regulator/of_regulator.c
View file @
44784cb3
...
@@ -120,6 +120,12 @@ int of_regulator_match(struct device *dev, struct device_node *node,
...
@@ -120,6 +120,12 @@ int of_regulator_match(struct device *dev, struct device_node *node,
if
(
!
dev
||
!
node
)
if
(
!
dev
||
!
node
)
return
-
EINVAL
;
return
-
EINVAL
;
for
(
i
=
0
;
i
<
num_matches
;
i
++
)
{
struct
of_regulator_match
*
match
=
&
matches
[
i
];
match
->
init_data
=
NULL
;
match
->
of_node
=
NULL
;
}
for_each_child_of_node
(
node
,
child
)
{
for_each_child_of_node
(
node
,
child
)
{
name
=
of_get_property
(
child
,
name
=
of_get_property
(
child
,
"regulator-compatible"
,
NULL
);
"regulator-compatible"
,
NULL
);
...
...
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