diff options
author | Rob Herring <robh@kernel.org> | 2018-11-17 01:11:04 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2018-11-19 14:20:51 +0300 |
commit | c12faa2bc56cb1e7a12b49f0b3a935c0c64fd0b4 (patch) | |
tree | a8efac8ba8b39fb014a72b7a8be5d0a76bd7f77f /sound/firewire | |
parent | 988e30af9a508a40d958a9eec5c47b1c6d36176f (diff) | |
download | linux-c12faa2bc56cb1e7a12b49f0b3a935c0c64fd0b4.tar.xz |
ALSA: aoa: Use device_type helpers to access the node type
Remove directly accessing device_node.type pointer and use the accessors
instead. This will eventually allow removing the type pointer.
Replace the open coded iterating over child nodes with
for_each_child_of_node() while we're here.
Cc: Johannes Berg <johannes@sipsolutions.net>
Cc: Jaroslav Kysela <perex@perex.cz>
Cc: Takashi Iwai <tiwai@suse.com>
Cc: linuxppc-dev@lists.ozlabs.org
Cc: alsa-devel@alsa-project.org
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/firewire')
0 files changed, 0 insertions, 0 deletions