Home
last modified time | relevance | path

Searched refs:camera_shutter_input_dev (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/platform/x86/hp/
H A Dhp-wmi.c274 static struct input_dev *camera_shutter_input_dev; variable
796 camera_shutter_input_dev = input_allocate_device(); in camera_shutter_input_setup()
797 if (!camera_shutter_input_dev) in camera_shutter_input_setup()
800 camera_shutter_input_dev->name = "HP WMI camera shutter"; in camera_shutter_input_setup()
801 camera_shutter_input_dev->phys = "wmi/input1"; in camera_shutter_input_setup()
802 camera_shutter_input_dev->id.bustype = BUS_HOST; in camera_shutter_input_setup()
804 __set_bit(EV_SW, camera_shutter_input_dev->evbit); in camera_shutter_input_setup()
805 __set_bit(SW_CAMERA_LENS_COVER, camera_shutter_input_dev->swbit); in camera_shutter_input_setup()
807 err = input_register_device(camera_shutter_input_dev); in camera_shutter_input_setup()
814 input_free_device(camera_shutter_input_dev); in camera_shutter_input_setup()
[all …]