ASoC: hdac_hdmi: use dev_to_hdac_dev and to_ehdac_device
authorGeliang Tang <geliangtang@163.com>
Mon, 28 Dec 2015 14:47:13 +0000 (22:47 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 4 Jan 2016 11:21:47 +0000 (11:21 +0000)
commit51b2c4258f29d83120819a829a78345a3dac17c4
tree785535d27dd4e6a0674bb9505c02e968a1a249f3
parent940a5a014d50e15269b5d197ab571d1ca9971c43
ASoC: hdac_hdmi: use dev_to_hdac_dev and to_ehdac_device

Use dev_to_hdac_dev() and to_ehdac_device() instead of open-coding.

Signed-off-by: Geliang Tang <geliangtang@163.com>
Reviewed-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/hdac_hdmi.c