ASoC: Intel: boards: use helper to get codec_dai
authorPierre-Louis Bossart <[email protected]>
Thu, 12 Oct 2017 23:38:03 +0000 (18:38 -0500)
committerMark Brown <[email protected]>
Wed, 18 Oct 2017 11:30:22 +0000 (12:30 +0100)
commitdfb6ec7ae57d33d2854a1af2dfe1278da8a7dedc
treeb64951eafd270114b0e1cf9674058d1b3f4bb0b6
parent8a2eca50c618ef2affc140b38dc7fdc63d423e89
ASoC: Intel: boards: use helper to get codec_dai

Remove duplicate code with a common helper in all Intel machine drivers.

Suggested-by: Andy Shevchenko <[email protected]>
Suggested-by: Takashi Iwai <[email protected]>
Signed-off-by: Pierre-Louis Bossart <[email protected]>
Acked-by: Liam Girdwood <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
sound/soc/intel/boards/bxt_da7219_max98357a.c
sound/soc/intel/boards/bytcr_rt5640.c
sound/soc/intel/boards/bytcr_rt5651.c
sound/soc/intel/boards/cht_bsw_max98090_ti.c
sound/soc/intel/boards/cht_bsw_rt5645.c
sound/soc/intel/boards/cht_bsw_rt5672.c
sound/soc/intel/boards/skl_nau88l25_max98357a.c
sound/soc/intel/boards/skl_nau88l25_ssm4567.c