ASoC: acpi: remove hard-coded i2c-device name length
authorPierre-Louis Bossart <[email protected]>
Thu, 11 Jan 2018 19:52:09 +0000 (13:52 -0600)
committerMark Brown <[email protected]>
Fri, 12 Jan 2018 21:05:41 +0000 (21:05 +0000)
commit2be2d57986431626e905ee344086affa44c5bb9b
tree596f8387eb5df595adff10c7f41333002a5f21ab
parent3c22a73fb87366851dcf48d852357a6d808921cc
ASoC: acpi: remove hard-coded i2c-device name length

Remove hard-codec [16] array size, replace with clearer description and
dependency on ACPI_ID_LEN
No functionality change

Suggested-by: Andy Shevchenko <[email protected]>
Signed-off-by: Pierre-Louis Bossart <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Acked-By: Vinod Koul <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
include/sound/soc-acpi.h
sound/soc/intel/boards/bytcht_da7213.c
sound/soc/intel/boards/bytcht_es8316.c
sound/soc/intel/boards/bytcr_rt5640.c
sound/soc/intel/boards/bytcr_rt5651.c
sound/soc/intel/boards/cht_bsw_rt5645.c
sound/soc/intel/boards/cht_bsw_rt5672.c