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
2e1be9f7
Commit
2e1be9f7
authored
Apr 28, 2013
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'regulator/topic/max8925' into v3.9-rc8
parents
c4578da5
ad4928f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
drivers/regulator/max8925-regulator.c
drivers/regulator/max8925-regulator.c
+2
-3
No files found.
drivers/regulator/max8925-regulator.c
View file @
2e1be9f7
...
...
@@ -246,7 +246,6 @@ static struct max8925_regulator_info max8925_regulator_info[] = {
#ifdef CONFIG_OF
static
int
max8925_regulator_dt_init
(
struct
platform_device
*
pdev
,
struct
max8925_regulator_info
*
info
,
struct
regulator_config
*
config
,
int
ridx
)
{
...
...
@@ -272,7 +271,7 @@ static int max8925_regulator_dt_init(struct platform_device *pdev,
return
0
;
}
#else
#define max8925_regulator_dt_init(
w,
x, y, z) (-1)
#define max8925_regulator_dt_init(x, y, z) (-1)
#endif
static
int
max8925_regulator_probe
(
struct
platform_device
*
pdev
)
...
...
@@ -309,7 +308,7 @@ static int max8925_regulator_probe(struct platform_device *pdev)
config
.
dev
=
&
pdev
->
dev
;
config
.
driver_data
=
ri
;
if
(
max8925_regulator_dt_init
(
pdev
,
ri
,
&
config
,
regulator_idx
))
if
(
max8925_regulator_dt_init
(
pdev
,
&
config
,
regulator_idx
))
if
(
pdata
)
config
.
init_data
=
pdata
;
...
...
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