summaryrefslogtreecommitdiffstats
path: root/sound/soc/soc-ac97.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2015-02-18 02:03:41 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-25 14:53:58 +0100
commite8a51e1b51ee5730ad3913f3962e3099a5e19359 (patch)
tree28b3f15d83a7de01e63084e0bc7111c756482db7 /sound/soc/soc-ac97.c
parentdrivers: base: fw: fix ret value when loading fw (diff)
downloadlinux-e8a51e1b51ee5730ad3913f3962e3099a5e19359.tar.xz
linux-e8a51e1b51ee5730ad3913f3962e3099a5e19359.zip
device: Add dev_of_node() accessor
Suggested by Arnd Bergmann, this gives a practical accessor for the of_node field of struct device while instructing the compiler that it will be NULL if CONFIG_OF is not set. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/soc/soc-ac97.c')
0 files changed, 0 insertions, 0 deletions