Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit f806bdb2 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: hwdep: Take private_data as drvdata for sysfs



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: default avatarTakashi Iwai <tiwai@suse.de>
parent caa751ba
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment