mmc: cb710: use to_platform_device()
authorGeliang Tang <geliangtang@163.com>
Sun, 27 Dec 2015 13:15:43 +0000 (21:15 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 5 Jan 2016 17:04:57 +0000 (18:04 +0100)
commit12dd7fe2967a7e60e689e7e9a016b8288c8ea756
treee25ed8aeb40b67a517e9620e34bb9e972f21ae59
parent1b84def8bf86ae9a39940c12a20ce9a2dfd66d56
mmc: cb710: use to_platform_device()

Use to_platform_device() instead of open-coding it.

Signed-off-by: Geliang Tang <geliangtang@163.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/cb710-mmc.h