ASoC: jz4740-i2s: Add local dev variable in probe function
authorPaul Cercueil <paul@crapouillou.net>
Fri, 6 Mar 2020 22:29:28 +0000 (23:29 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 9 Mar 2020 14:25:05 +0000 (14:25 +0000)
commita42d9ba15cbf3e84307906db65fc598a8b73e2f1
treee0b45005bfba60da3b1e8df237f906422ea3bca2
parentab985be95da1d68a0cdba1ed702961aae047bf89
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>
sound/soc/jz4740/jz4740-i2s.c