Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f73fee74 authored by Jiri Kosina's avatar Jiri Kosina
Browse files

Merge branch 'for-4.17/hid-i2c' into for-linus

Small hid-i2c acpi cleanup.
parents 7a8c1c4e 8afede12
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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)
{
	acpi_handle handle = ACPI_HANDLE(dev);
	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);
}