OSDN Git Service

staging: fbtft: use to_spi_device
authorGeliang Tang <geliangtang@163.com>
Tue, 22 Dec 2015 16:18:43 +0000 (00:18 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Feb 2016 03:42:23 +0000 (19:42 -0800)
commit5d5ccf21968d0de82f3eed9ab924fadbc872e739
tree5a49b5b027934e1e87c8f8a1087bc9a2b0344b9d
parent817d1648ec2ca32888a78aa9f9086b6ea00add86
staging: fbtft: use to_spi_device

Use to_spi_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