ASoC: atmel: simplify getting .drvdata
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Thu, 19 Apr 2018 14:06:31 +0000 (16:06 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 19 Apr 2018 14:40:30 +0000 (15:40 +0100)
commitc0380478139fce887b948b35dc0dcee0b40bdf09
treec218a6dd618e68a2f6f726736c66d3c5e2d64f27
parent4bb3f73a2da740e38f2e418bd0c468826046687a
ASoC: atmel: simplify getting .drvdata

We should get drvdata from struct device directly. Going via
platform_device is an unneeded step back and forth.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/atmel/atmel_ssc_dai.c