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
f4244c68
Commit
f4244c68
authored
Dec 10, 2012
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'regulator/topic/tol' into regulator-next
parents
4247bfe2
fe1e43f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
include/linux/regulator/consumer.h
include/linux/regulator/consumer.h
+8
-0
No files found.
include/linux/regulator/consumer.h
View file @
f4244c68
...
...
@@ -372,4 +372,12 @@ static inline int regulator_set_voltage_tol(struct regulator *regulator,
new_uV
-
tol_uV
,
new_uV
+
tol_uV
);
}
static
inline
int
regulator_is_supported_voltage_tol
(
struct
regulator
*
regulator
,
int
target_uV
,
int
tol_uV
)
{
return
regulator_is_supported_voltage
(
regulator
,
target_uV
-
tol_uV
,
target_uV
+
tol_uV
);
}
#endif
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