snd_device_free - release the device from the card
2. SYNOPSIS ▲
int snd_device_free(struct snd_card * card , void * device_data );
3. ARGUMENTS ▲
the card instance
the data pointer to release
4. DESCRIPTION ▲
Removes the device from the list on the card and invokes the callbacks, dev_disconnect and dev_free, corresponding to the state. Then release the device.
5. RETURN ▲
Zero if successful, or a negative error code on failure or if the device not found.
6. COPYRIGHT ▲