Searched refs:ps_dev (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/hid/ |
H A D | hid-playstation.c | 784 static int ps_led_register(struct ps_device *ps_dev, struct led_classdev *led, in ps_led_register() argument 790 led->name = devm_kasprintf(&ps_dev->hdev->dev, GFP_KERNEL, in ps_led_register() 791 "%s:%s:%s", ps_dev->input_dev_name, led_info->color, led_info->name); in ps_led_register() 794 led->name = devm_kasprintf(&ps_dev->hdev->dev, GFP_KERNEL, in ps_led_register() 795 "%s:%s", ps_dev->input_dev_name, led_info->color); in ps_led_register() 808 ret = devm_led_classdev_register(&ps_dev->hdev->dev, led); in ps_led_register() 810 hid_err(ps_dev->hdev, "Failed to register LED %s: %d\n", led_info->name, ret); in ps_led_register() 818 static int ps_lightbar_register(struct ps_device *ps_dev, struct led_classdev_mc *lightbar_mc_dev, in ps_lightbar_register() argument 821 struct hid_device *hdev = ps_dev->hdev; in ps_lightbar_register() 840 ps_dev->input_dev_name); in ps_lightbar_register() [all …]
|