Searched refs:ihid_acpi (Results 1 – 1 of 1) sorted by relevance
56 static int i2c_hid_acpi_get_descriptor(struct i2c_hid_acpi *ihid_acpi) in i2c_hid_acpi_get_descriptor() argument58 struct acpi_device *adev = ihid_acpi->adev; in i2c_hid_acpi_get_descriptor()81 struct i2c_hid_acpi *ihid_acpi = container_of(ops, struct i2c_hid_acpi, ops); in i2c_hid_acpi_shutdown_tail() local83 acpi_device_set_power(ihid_acpi->adev, ACPI_STATE_D3_COLD); in i2c_hid_acpi_shutdown_tail()89 struct i2c_hid_acpi *ihid_acpi; in i2c_hid_acpi_probe() local93 ihid_acpi = devm_kzalloc(&client->dev, sizeof(*ihid_acpi), GFP_KERNEL); in i2c_hid_acpi_probe()94 if (!ihid_acpi) in i2c_hid_acpi_probe()97 ihid_acpi->adev = ACPI_COMPANION(dev); in i2c_hid_acpi_probe()98 ihid_acpi->ops.shutdown_tail = i2c_hid_acpi_shutdown_tail; in i2c_hid_acpi_probe()100 ret = i2c_hid_acpi_get_descriptor(ihid_acpi); in i2c_hid_acpi_probe()[all …]