tty: serial: msm_serial: Remove dead code
authorStephen Boyd <sboyd@codeaurora.org>
Fri, 13 Mar 2015 18:09:37 +0000 (11:09 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Mar 2015 21:31:09 +0000 (22:31 +0100)
This config no longer exists now that mach-msm has been removed.
Delete it and the associated code.

Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: David Brown <davidb@codeaurora.org>
Cc: Bryan Huntsman <bryanh@codeaurora.org>
Cc: Daniel Walker <dwalker@fifo99.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/Kconfig
drivers/tty/serial/msm_serial.h

index c9dbc626038d6e14a854d5982c369be181d82aa5..04d7a96c7cf9c269ffbead83582eb7b74c3f8bc1 100644 (file)
@@ -1044,7 +1044,7 @@ config SERIAL_SGI_IOC3
 
 config SERIAL_MSM
        bool "MSM on-chip serial port support"
-       depends on ARCH_MSM || ARCH_QCOM
+       depends on ARCH_QCOM
        select SERIAL_CORE
 
 config SERIAL_MSM_CONSOLE
index 3e1c7138d8cd22bd64830e005b1c9ed77cedeee3..737f69fe7113a93410652cd84030a08bc6697335 100644 (file)
@@ -170,15 +170,6 @@ void msm_serial_set_mnd_regs_from_uartclk(struct uart_port *port)
                msm_serial_set_mnd_regs_tcxoby4(port);
 }
 
-/*
- * TROUT has a specific defect that makes it report it's uartclk
- * as 19.2Mhz (TCXO) when it's actually 4.8Mhz (TCXO/4). This special
- * cases TROUT to use the right clock.
- */
-#ifdef CONFIG_MACH_TROUT
-#define msm_serial_set_mnd_regs msm_serial_set_mnd_regs_tcxoby4
-#else
 #define msm_serial_set_mnd_regs msm_serial_set_mnd_regs_from_uartclk
-#endif
 
 #endif /* __DRIVERS_SERIAL_MSM_SERIAL_H */