Searched refs:tps_hkey (Results 1 – 1 of 1) sorted by relevance
131 struct topstar_hkey *tps_hkey; in acpi_topstar_add() local133 tps_hkey = kzalloc(sizeof(struct topstar_hkey), GFP_KERNEL); in acpi_topstar_add()134 if (!tps_hkey) in acpi_topstar_add()143 if (acpi_topstar_init_hkey(tps_hkey)) in acpi_topstar_add()146 device->driver_data = tps_hkey; in acpi_topstar_add()150 kfree(tps_hkey); in acpi_topstar_add()156 struct topstar_hkey *tps_hkey = acpi_driver_data(device); in acpi_topstar_remove() local160 sparse_keymap_free(tps_hkey->inputdev); in acpi_topstar_remove()161 input_unregister_device(tps_hkey->inputdev); in acpi_topstar_remove()162 kfree(tps_hkey); in acpi_topstar_remove()