diff options
Diffstat (limited to 'drivers/hid/i2c-hid/i2c-hid.c')
-rw-r--r-- | drivers/hid/i2c-hid/i2c-hid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/i2c-hid/i2c-hid.c b/drivers/hid/i2c-hid/i2c-hid.c index fd7ce374f812..b7ecc3623a43 100644 --- a/drivers/hid/i2c-hid/i2c-hid.c +++ b/drivers/hid/i2c-hid/i2c-hid.c | |||
@@ -1012,7 +1012,7 @@ static int i2c_hid_probe(struct i2c_client *client, | |||
1012 | hid->hid_get_raw_report = i2c_hid_get_raw_report; | 1012 | hid->hid_get_raw_report = i2c_hid_get_raw_report; |
1013 | hid->hid_output_raw_report = i2c_hid_output_raw_report; | 1013 | hid->hid_output_raw_report = i2c_hid_output_raw_report; |
1014 | hid->dev.parent = &client->dev; | 1014 | hid->dev.parent = &client->dev; |
1015 | ACPI_HANDLE_SET(&hid->dev, ACPI_HANDLE(&client->dev)); | 1015 | ACPI_COMPANION_SET(&hid->dev, ACPI_COMPANION(&client->dev)); |
1016 | hid->bus = BUS_I2C; | 1016 | hid->bus = BUS_I2C; |
1017 | hid->version = le16_to_cpu(ihid->hdesc.bcdVersion); | 1017 | hid->version = le16_to_cpu(ihid->hdesc.bcdVersion); |
1018 | hid->vendor = le16_to_cpu(ihid->hdesc.wVendorID); | 1018 | hid->vendor = le16_to_cpu(ihid->hdesc.wVendorID); |