staging: fbtft: use to_platform_device()
authorGeliang Tang <geliangtang@163.com>
Sun, 27 Dec 2015 13:15:46 +0000 (21:15 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Feb 2016 03:42:23 +0000 (19:42 -0800)
commitf6bfc25ee0f60aa6ada33b3948a9aa3aecc6ef6a
treee5c5bc14d6f2de3688ee2515c638d84f6cf87976
parent5d5ccf21968d0de82f3eed9ab924fadbc872e739
staging: fbtft: use to_platform_device()

Use to_platform_device() instead of open-coding it.

Signed-off-by: Geliang Tang <geliangtang@163.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fbtft/fbtft_device.c