commit | a42d9ba15cbf3e84307906db65fc598a8b73e2f1 | [log] [tgz] |
---|---|---|
author | Paul Cercueil <paul@crapouillou.net> | Fri Mar 06 23:29:28 2020 +0100 |
committer | Mark Brown <broonie@kernel.org> | Mon Mar 09 14:25:05 2020 +0000 |
tree | e0b45005bfba60da3b1e8df237f906422ea3bca2 | |
parent | ab985be95da1d68a0cdba1ed702961aae047bf89 [diff] |
ASoC: jz4740-i2s: Add local dev variable in probe function Make the code cleaner by using a "struct device *dev" variable instead of dereferencing it everytime from within the struct platform_device. Signed-off-by: Paul Cercueil <paul@crapouillou.net> Link: https://lore.kernel.org/r/20200306222931.39664-3-paul@crapouillou.net Signed-off-by: Mark Brown <broonie@kernel.org>