[PATCH 1/3] spi: spi-ti-qspi: Remove unused macro for fclk frequency

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The fclk and its rate are retrieved from DT.

Signed-off-by: Jean Pihet <jean.pihet@xxxxxxxxxxxxxx>
Cc: Ryan Barnett <ryan.barnett@xxxxxxxxxxxxxxxxxxx>
Cc: Conrad Ratschan <conrad.ratschan@xxxxxxxxxxxxxxxxxxx>
Cc: Arnout Vandecappelle <arnout.vandecappelle@xxxxxxxxxxxxx>
---
 drivers/spi/spi-ti-qspi.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/spi/spi-ti-qspi.c b/drivers/spi/spi-ti-qspi.c
index 3cb65371ae3b..a18835128ad0 100644
--- a/drivers/spi/spi-ti-qspi.c
+++ b/drivers/spi/spi-ti-qspi.c
@@ -79,8 +79,6 @@ struct ti_qspi {
 
 #define QSPI_COMPLETION_TIMEOUT		msecs_to_jiffies(2000)
 
-#define QSPI_FCLK			192000000
-
 /* Clock Control */
 #define QSPI_CLK_EN			(1 << 31)
 #define QSPI_CLK_DIV_MAX		0xffff
-- 
2.23.0




[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux