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
0bac9879
Commit
0bac9879
authored
May 07, 2014
by
Ben Skeggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drm/nouveau/i2c: remove unnecessary i2c_set_adapdata()
Signed-off-by:
Ben Skeggs
<
bskeggs@redhat.com
>
parent
842c2953
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
drivers/gpu/drm/nouveau/core/subdev/i2c/base.c
drivers/gpu/drm/nouveau/core/subdev/i2c/base.c
+0
-2
No files found.
drivers/gpu/drm/nouveau/core/subdev/i2c/base.c
View file @
0bac9879
...
...
@@ -114,7 +114,6 @@ nouveau_i2c_port_create_(struct nouveau_object *parent,
port
->
adapter
.
dev
.
parent
=
nv_device_base
(
device
);
port
->
index
=
index
;
port
->
func
=
func
;
i2c_set_adapdata
(
&
port
->
adapter
,
i2c
);
if
(
algo
==
&
nouveau_i2c_bit_algo
&&
!
nouveau_boolopt
(
device
->
cfgopt
,
"NvI2C"
,
CSTMSEL
))
{
...
...
@@ -141,7 +140,6 @@ nouveau_i2c_port_create_(struct nouveau_object *parent,
ret
=
i2c_add_adapter
(
&
port
->
adapter
);
}
/* drop port's i2c subdev refcount, i2c handles this itself */
if
(
ret
==
0
)
list_add_tail
(
&
port
->
head
,
&
i2c
->
ports
);
return
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