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
6b468562
Commit
6b468562
authored
Dec 12, 2016
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'regulator/topic/core' into regulator-next
parents
99305bdc
b2661e98
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
drivers/regulator/core.c
drivers/regulator/core.c
+3
-2
No files found.
drivers/regulator/core.c
View file @
6b468562
...
...
@@ -204,7 +204,7 @@ static struct device_node *of_get_regulator(struct device *dev, const char *supp
regnode
=
of_parse_phandle
(
dev
->
of_node
,
prop_name
,
0
);
if
(
!
regnode
)
{
dev_dbg
(
dev
,
"Looking up %s property in node %s failed"
,
dev_dbg
(
dev
,
"Looking up %s property in node %s failed
\n
"
,
prop_name
,
dev
->
of_node
->
full_name
);
return
NULL
;
}
...
...
@@ -293,7 +293,8 @@ static int regulator_check_current_limit(struct regulator_dev *rdev,
}
/* operating mode constraint check */
static
int
regulator_mode_constrain
(
struct
regulator_dev
*
rdev
,
int
*
mode
)
static
int
regulator_mode_constrain
(
struct
regulator_dev
*
rdev
,
unsigned
int
*
mode
)
{
switch
(
*
mode
)
{
case
REGULATOR_MODE_FAST
:
...
...
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