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
f73fee74
Commit
f73fee74
authored
Apr 05, 2018
by
Jiri Kosina
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'for-4.17/hid-i2c' into for-linus
Small hid-i2c acpi cleanup.
parents
7a8c1c4e
8afede12
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/hid/i2c-hid/i2c-hid.c
drivers/hid/i2c-hid/i2c-hid.c
+2
-2
No files found.
drivers/hid/i2c-hid/i2c-hid.c
View file @
f73fee74
...
@@ -892,10 +892,10 @@ static int i2c_hid_acpi_pdata(struct i2c_client *client,
...
@@ -892,10 +892,10 @@ static int i2c_hid_acpi_pdata(struct i2c_client *client,
static
void
i2c_hid_acpi_fix_up_power
(
struct
device
*
dev
)
static
void
i2c_hid_acpi_fix_up_power
(
struct
device
*
dev
)
{
{
acpi_handle
handle
=
ACPI_HANDLE
(
dev
);
struct
acpi_device
*
adev
;
struct
acpi_device
*
adev
;
if
(
handle
&&
acpi_bus_get_device
(
handle
,
&
adev
)
==
0
)
adev
=
ACPI_COMPANION
(
dev
);
if
(
adev
)
acpi_device_fix_up_power
(
adev
);
acpi_device_fix_up_power
(
adev
);
}
}
...
...
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