ALSA: hwdep: Take private_data as drvdata for sysfs
authorTakashi Iwai <tiwai@suse.de>
Tue, 25 Feb 2014 09:00:58 +0000 (10:00 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 25 Feb 2014 11:12:50 +0000 (12:12 +0100)
For referring to a different object from sysfs ops, take hwdep
private_data as stored via dev_set_drvdata() at creating the device
object.  In that way, the same sysfs ops can be used by different
device types.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/hwdep.c
sound/pci/hda/hda_hwdep.c

Simple merge
Simple merge