• Rob Herring's avatar
    ALSA: aoa: Use device_type helpers to access the node type · c12faa2b
    Rob Herring authored
    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: default avatarRob Herring <robh@kernel.org>
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    c12faa2b
layout.c 27.5 KB