ALSA: mts64: use new parport device model
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Mon, 22 Feb 2016 13:22:08 +0000 (18:52 +0530)
committerTakashi Iwai <tiwai@suse.de>
Mon, 22 Feb 2016 14:01:43 +0000 (15:01 +0100)
commit94a573500d48e780e5b23d307d6e6b05e6af7d2a
tree0ebeccff49a55bf921fddbdeaf0b525665b2ff34
parentc3a900581e1137bdc2efc25325d99fcc9bb9ab1e
ALSA: mts64: use new parport device model

Modify mts64 driver to use the new parallel port device model.
The advantage of using the device model is that the driver gets binded
to the hardware, we get the feature of hotplug, we can bind/unbind the
driver at runtime.
The changes are in the way the driver gets registered with the parallel
port subsystem and the temporary device to probe mts64 card is removed
and mts64_probe() is used in the probe callback.

Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/drivers/mts64.c