예제 #1
0
파일: pcspkr.c 프로젝트: smakonin/DataExfil
static void kbinput_disconnect(struct input_handle *handle)
{

	input_close_device(handle);
	input_unregister_handle(handle);
	kfree(handle);
}
예제 #2
0
static void boost_input_disconnect(struct input_handle *handle)
{
	flush_work(&touchboost_inputopen.inputopen_work);
	input_close_device(handle);
	input_unregister_handle(handle);
	kfree(handle);
}
예제 #3
0
static void evbug_disconnect(struct input_handle *handle)
{
	printk(KERN_DEBUG "evbug.c: Disconnected device: %s\n", handle->dev->phys);

	input_close_device(handle);

	kfree(handle);
}
예제 #4
0
static void lid_switch_disconnect(struct input_handle *handle)
{
    printk(KERN_DEBUG "%s(%s): Disconnected device: %s\n", __FILE__, __FUNCTION__,handle->dev->phys);

    input_close_device(handle);
    input_unregister_handle(handle);
    kfree(handle);
}
예제 #5
0
static void keybdev_disconnect(struct input_handle *handle)
{
	printk("keybdev.c: Removing keyboard: input%d\n", handle->dev->number);

	input_close_device(handle);

	kfree(handle);
}
static void mcs6000_sld_input_disconnect(struct input_handle *handle)
{
	DMSG(KERN_INFO"[sub]%s: start! \n", __FUNCTION__);

	input_close_device(handle);
	input_unregister_handle(handle);
	kfree(handle);
}
예제 #7
0
static void evbug_disconnect(struct input_handle *handle)
{
	printk(KERN_DEBUG "evbug.c: Disconnected device: %s\n",
		dev_name(&handle->dev->dev));

	input_close_device(handle);
	input_unregister_handle(handle);
	kfree(handle);
}
예제 #8
0
static void ate_disconnect(struct input_handle *handle)
{
    int i, j;
	printk(KERN_DEBUG pr_fmt("Disconnected device: %s\n"),
	       dev_name(&handle->dev->dev));
    for (i = 0; i < ate_dt->ate_dev.input_dev_sum; i++) {
        if (0 == strcmp(handle->dev->name, ate_dt->ate_dev.input_dev_table[i]->name)) {
            for (j = i; j < ate_dt->ate_dev.input_dev_sum - 1; j++) {
				ate_dt->ate_dev.input_dev_table[j] = ate_dt->ate_dev.input_dev_table[j + 1];
				ate_dt->ate_dev.valid[j] = ate_dt->ate_dev.valid[j + 1];
				ate_dt->ate_dev.input_event_type[j] = ate_dt->ate_dev.input_event_type[j+1];
			}
			ate_dt->ate_dev.input_dev_table[j] = NULL;
			ate_dt->ate_dev.valid[j] = false;
			ate_dt->ate_dev.input_event_type[j] = NULL_EVENT_TYPE;
			ate_dt->ate_dev.input_dev_sum--;
			break;
	   	}
	}

	input_close_device(handle);
	input_unregister_handle(handle);
	kfree(handle);
}
예제 #9
0
static void mac_hid_emumouse_disconnect(struct input_handle *handle)
{
	input_close_device(handle);
	input_unregister_handle(handle);
	kfree(handle);
}
예제 #10
0
static void power_disconnect(struct input_handle *handle)
{
	input_close_device(handle);
	kfree(handle);
}