spi: spi-s3c64xx: Remove unused driver data structure tgl_spi field
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Thu, 12 Apr 2018 13:21:46 +0000 (15:21 +0200)
committerJunghoon Kim <jhoon20.kim@samsung.com>
Thu, 14 Feb 2019 05:56:57 +0000 (14:56 +0900)
The tgl_spi pointer is now unused so remove it.

Change-Id: Iedfa3e5e39bac27aa4f6ec467578635d99d01b1e
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
drivers/spi/spi-s3c64xx.c

index 1a6ec22..8dc2e3d 100644 (file)
@@ -166,7 +166,6 @@ struct s3c64xx_spi_port_config {
  * @ioclk: Pointer to the i/o clock between master and slave
  * @master: Pointer to the SPI Protocol master.
  * @cntrlr_info: Platform specific data for the controller this driver manages.
- * @tgl_spi: Pointer to the last CS left untoggled by the cs_change hint.
  * @lock: Controller specific lock.
  * @state: Set of FLAGS to indicate status.
  * @rx_dmach: Controller's DMA channel for Rx.
@@ -187,7 +186,6 @@ struct s3c64xx_spi_driver_data {
        struct platform_device          *pdev;
        struct spi_master               *master;
        struct s3c64xx_spi_info  *cntrlr_info;
-       struct spi_device               *tgl_spi;
        spinlock_t                      lock;
        unsigned long                   sfr_start;
        struct completion               xfer_completion;