Provided by: linux-doc-2.6.15_2.6.15-23.39_all bug

NAME

       snd_device_free - release the device from the card

SYNOPSIS

       int snd_device_free  (snd_card_t * card, void * device_data);

ARGUMENTS

       card   the card instance

       device_data
              the data pointer to release

DESCRIPTION

       Removes  the device from the list on the card and invokes the callback,
       dev_unregister or dev_free, corresponding to the  state.  Then  release
       the device.

       Returns  zero  if successful, or a negative error code on failure or if
       the device not found.