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
e3d5b2f5
Commit
e3d5b2f5
authored
Jan 15, 2013
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'regulator/fix/s5m8767' into tmp
parents
3ab91da2
3ef30398
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/regulator/s5m8767.c
drivers/regulator/s5m8767.c
+2
-2
No files found.
drivers/regulator/s5m8767.c
View file @
e3d5b2f5
...
@@ -214,7 +214,7 @@ static int s5m8767_reg_is_enabled(struct regulator_dev *rdev)
...
@@ -214,7 +214,7 @@ static int s5m8767_reg_is_enabled(struct regulator_dev *rdev)
struct
s5m8767_info
*
s5m8767
=
rdev_get_drvdata
(
rdev
);
struct
s5m8767_info
*
s5m8767
=
rdev_get_drvdata
(
rdev
);
int
ret
,
reg
;
int
ret
,
reg
;
int
mask
=
0xc0
,
enable_ctrl
;
int
mask
=
0xc0
,
enable_ctrl
;
u
8
val
;
u
nsigned
int
val
;
ret
=
s5m8767_get_register
(
rdev
,
&
reg
,
&
enable_ctrl
);
ret
=
s5m8767_get_register
(
rdev
,
&
reg
,
&
enable_ctrl
);
if
(
ret
==
-
EINVAL
)
if
(
ret
==
-
EINVAL
)
...
@@ -306,7 +306,7 @@ static int s5m8767_get_voltage_sel(struct regulator_dev *rdev)
...
@@ -306,7 +306,7 @@ static int s5m8767_get_voltage_sel(struct regulator_dev *rdev)
struct
s5m8767_info
*
s5m8767
=
rdev_get_drvdata
(
rdev
);
struct
s5m8767_info
*
s5m8767
=
rdev_get_drvdata
(
rdev
);
int
reg
,
mask
,
ret
;
int
reg
,
mask
,
ret
;
int
reg_id
=
rdev_get_id
(
rdev
);
int
reg_id
=
rdev_get_id
(
rdev
);
u
8
val
;
u
nsigned
int
val
;
ret
=
s5m8767_get_voltage_register
(
rdev
,
&
reg
);
ret
=
s5m8767_get_voltage_register
(
rdev
,
&
reg
);
if
(
ret
)
if
(
ret
)
...
...
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