ASoC: twl6040, fsl: use to_platform_device

Use to_platform_device() instead of open-coding it.

Signed-off-by: Geliang Tang <geliangtang@163.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Geliang Tang 2015-12-23 21:03:39 +08:00 • committed by Mark Brown
commit bb18f0976e
4 changed files with 4 additions and 8 deletions