ASoC: twl6040, fsl: use to_platform_device
authorGeliang Tang <geliangtang@163.com>
Wed, 23 Dec 2015 13:03:39 +0000 (21:03 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 24 Dec 2015 19:42:42 +0000 (19:42 +0000)
commitbb18f0976ef8db41f68b66623ce3b8a745adb0b8
treeb719e75a8d341c1406d68abd22d620a3eb69f45c
parent8005c49d9aea74d382f474ce11afbbc7d7130bec
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>
sound/soc/codecs/twl6040.c
sound/soc/fsl/mpc8610_hpcd.c
sound/soc/fsl/p1022_ds.c
sound/soc/fsl/p1022_rdk.c