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
15db0c8d
Commit
15db0c8d
authored
Dec 05, 2014
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'regulator/topic/core' into regulator-next
parents
70c97e3b
60a2362f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
drivers/regulator/core.c
drivers/regulator/core.c
+3
-1
No files found.
drivers/regulator/core.c
View file @
15db0c8d
...
@@ -828,7 +828,7 @@ static void print_constraints(struct regulator_dev *rdev)
...
@@ -828,7 +828,7 @@ static void print_constraints(struct regulator_dev *rdev)
if
(
!
count
)
if
(
!
count
)
sprintf
(
buf
,
"no parameters"
);
sprintf
(
buf
,
"no parameters"
);
rdev_
info
(
rdev
,
"%s
\n
"
,
buf
);
rdev_
dbg
(
rdev
,
"%s
\n
"
,
buf
);
if
((
constraints
->
min_uV
!=
constraints
->
max_uV
)
&&
if
((
constraints
->
min_uV
!=
constraints
->
max_uV
)
&&
!
(
constraints
->
valid_ops_mask
&
REGULATOR_CHANGE_VOLTAGE
))
!
(
constraints
->
valid_ops_mask
&
REGULATOR_CHANGE_VOLTAGE
))
...
@@ -1713,6 +1713,8 @@ static void regulator_ena_gpio_free(struct regulator_dev *rdev)
...
@@ -1713,6 +1713,8 @@ static void regulator_ena_gpio_free(struct regulator_dev *rdev)
gpiod_put
(
pin
->
gpiod
);
gpiod_put
(
pin
->
gpiod
);
list_del
(
&
pin
->
list
);
list_del
(
&
pin
->
list
);
kfree
(
pin
);
kfree
(
pin
);
rdev
->
ena_pin
=
NULL
;
return
;
}
else
{
}
else
{
pin
->
request_count
--
;
pin
->
request_count
--
;
}
}
...
...
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