commit | c15b2a1d185bcdab6556492b81b55ba9e658e201 | [log] [tgz] |
---|---|---|
author | Peng Donglin <dolinux.peng@gmail.com> | Wed Feb 14 22:48:07 2018 +0800 |
committer | Mark Brown <broonie@kernel.org> | Thu Feb 15 15:24:43 2018 +0000 |
tree | ba5e7e74a36f563d74caa7e6689c97b4f6dd8f24 | |
parent | 7a2ccad58106696b7909815cc7ab359ae2743bcc [diff] |
ASoC: use DEFINE_SHOW_ATTRIBUTE() to decrease code duplication There is some duplicate code in soc-core.c, and the kernel provides DEFINE_SHOW_ATTRIBUTE() helper macro to decrease it in seq_file.h. Signed-off-by: Peng Donglin <dolinux.peng@gmail.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>