Home
last modified time | relevance | path

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

/openbmc/linux/sound/core/
H A Dcontrol_led.c381 kfree(led_card); in snd_ctl_led_card_release()
576 err = snd_ctl_led_set_id(led_card->number, &id, led_card->led->group, attach); in set_led_id()
607 err = snd_ctl_led_reset(led_card->number, led_card->led->group); in reset_store()
670 struct snd_ctl_led_card *led_card; in snd_ctl_led_sysfs_add() local
676 led_card = kzalloc(sizeof(*led_card), GFP_KERNEL); in snd_ctl_led_sysfs_add()
677 if (!led_card) in snd_ctl_led_sysfs_add()
679 led_card->number = card->number; in snd_ctl_led_sysfs_add()
680 led_card->led = led; in snd_ctl_led_sysfs_add()
687 if (device_add(&led_card->dev)) in snd_ctl_led_sysfs_add()
698 put_device(&led_card->dev); in snd_ctl_led_sysfs_add()
[all …]