diff options
author | Geliang Tang <geliangtang@163.com> | 2016-01-01 20:29:00 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-01-05 11:34:37 +0000 |
commit | 9d0c1c3332b49570454bb11e55d3c6c7993163da (patch) | |
tree | 10e756e5a574ebfdbda6bdf74766e83b083dfc25 /drivers/spi/spi-sun4i.c | |
parent | 8005c49d9aea74d382f474ce11afbbc7d7130bec (diff) | |
download | linux-9d0c1c3332b49570454bb11e55d3c6c7993163da.tar.gz linux-9d0c1c3332b49570454bb11e55d3c6c7993163da.tar.bz2 linux-9d0c1c3332b49570454bb11e55d3c6c7993163da.zip |
spi: zynq: use to_platform_device()
Use to_platform_device() instead of open-coding it.
Signed-off-by: Geliang Tang <geliangtang@163.com>
Reviewed-by: Moritz Fischer <moritz.fischer@ettus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-sun4i.c')
0 files changed, 0 insertions, 0 deletions