serial: 8250_dw: remove ACPI ifdef
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>
Tue, 26 Nov 2013 08:30:06 +0000 (10:30 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Dec 2013 00:44:21 +0000 (16:44 -0800)
ACPI now provides stubs for the functions the driver uses.

Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_dw.c

index 4658e3e0ec4256d9b2e31f890ea72822abf47f93..816ec88a0d7f536aa0dac8d4ce9eb1a86682039c 100644 (file)
@@ -272,7 +272,6 @@ static int dw8250_probe_of(struct uart_port *p,
        return 0;
 }
 
-#ifdef CONFIG_ACPI
 static int dw8250_probe_acpi(struct uart_8250_port *up,
                             struct dw8250_data *data)
 {
@@ -300,13 +299,6 @@ static int dw8250_probe_acpi(struct uart_8250_port *up,
 
        return 0;
 }
-#else
-static inline int dw8250_probe_acpi(struct uart_8250_port *up,
-                                   struct dw8250_data *data)
-{
-       return -ENODEV;
-}
-#endif /* CONFIG_ACPI */
 
 static int dw8250_probe(struct platform_device *pdev)
 {