ALSA: portman2x4 - use new parport device model
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Wed, 17 Feb 2016 12:56:27 +0000 (18:26 +0530)
committerTakashi Iwai <tiwai@suse.de>
Thu, 18 Feb 2016 10:19:15 +0000 (11:19 +0100)
commite6a1b7e88046055989b8b59c1d648fda4e606f34
tree13970d9a80a924e72b279e550b550b098357b23a
parentcbaaee80e1518573f3ef8809187340b094da583c
ALSA: portman2x4 - use new parport device model

Modify portman driver to use the new parallel port device model.
The advantage of using the device model is that the device 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 portman card
is removed and portman_probe() is used in the probe callback.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/drivers/portman2x4.c