Searched refs:tps_hkey (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/platform/x86/
H A Dtopstar-laptop.c131 struct topstar_hkey *tps_hkey; acpi_topstar_add() local
133 tps_hkey = kzalloc(sizeof(struct topstar_hkey), GFP_KERNEL); acpi_topstar_add()
134 if (!tps_hkey) acpi_topstar_add()
143 if (acpi_topstar_init_hkey(tps_hkey)) acpi_topstar_add()
146 device->driver_data = tps_hkey; acpi_topstar_add()
150 kfree(tps_hkey); acpi_topstar_add()
156 struct topstar_hkey *tps_hkey = acpi_driver_data(device); acpi_topstar_remove() local
160 sparse_keymap_free(tps_hkey->inputdev); acpi_topstar_remove()
161 input_unregister_device(tps_hkey->inputdev); acpi_topstar_remove()
162 kfree(tps_hkey); acpi_topstar_remove()

Completed in 31 milliseconds