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
Kirill Smelkov
linux
Commits
5c437f42
Commit
5c437f42
authored
Apr 23, 2014
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'regulator/fix/core' into regulator-linus
parents
a798c10f
df7926ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
include/linux/regulator/consumer.h
include/linux/regulator/consumer.h
+2
-2
No files found.
include/linux/regulator/consumer.h
View file @
5c437f42
...
@@ -258,14 +258,14 @@ regulator_get_exclusive(struct device *dev, const char *id)
...
@@ -258,14 +258,14 @@ regulator_get_exclusive(struct device *dev, const char *id)
static
inline
struct
regulator
*
__must_check
static
inline
struct
regulator
*
__must_check
regulator_get_optional
(
struct
device
*
dev
,
const
char
*
id
)
regulator_get_optional
(
struct
device
*
dev
,
const
char
*
id
)
{
{
return
NULL
;
return
ERR_PTR
(
-
ENODEV
)
;
}
}
static
inline
struct
regulator
*
__must_check
static
inline
struct
regulator
*
__must_check
devm_regulator_get_optional
(
struct
device
*
dev
,
const
char
*
id
)
devm_regulator_get_optional
(
struct
device
*
dev
,
const
char
*
id
)
{
{
return
NULL
;
return
ERR_PTR
(
-
ENODEV
)
;
}
}
static
inline
void
regulator_put
(
struct
regulator
*
regulator
)
static
inline
void
regulator_put
(
struct
regulator
*
regulator
)
...
...
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