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
d61a5d63
Commit
d61a5d63
authored
Oct 15, 2020
by
Jiri Kosina
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'for-5.10/intel-ish-hid' into for-linus
- intel-ish-hid code cleanup
parents
1341c586
36725cb0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
drivers/hid/intel-ish-hid/ishtp/bus.c
drivers/hid/intel-ish-hid/ishtp/bus.c
+1
-7
No files found.
drivers/hid/intel-ish-hid/ishtp/bus.c
View file @
d61a5d63
...
...
@@ -502,8 +502,6 @@ static void ishtp_bus_remove_device(struct ishtp_cl_device *device)
int
ishtp_cl_driver_register
(
struct
ishtp_cl_driver
*
driver
,
struct
module
*
owner
)
{
int
err
;
if
(
!
ishtp_device_ready
)
return
-
ENODEV
;
...
...
@@ -511,11 +509,7 @@ int ishtp_cl_driver_register(struct ishtp_cl_driver *driver,
driver
->
driver
.
owner
=
owner
;
driver
->
driver
.
bus
=
&
ishtp_cl_bus_type
;
err
=
driver_register
(
&
driver
->
driver
);
if
(
err
)
return
err
;
return
0
;
return
driver_register
(
&
driver
->
driver
);
}
EXPORT_SYMBOL
(
ishtp_cl_driver_register
);
...
...
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