Skip to contentSkip to conversation

serial: 8250_dw: remove ACPI ifdef

PATCH New Heikki Krogerus 1 participant 1 message Nov 26, 2013

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 serial: 8250_dw: remove ACPI ifdef

ACPI now provides stubs for the functions the driver uses.

---
 drivers/tty/serial/8250/8250_dw.c | 8 --------
 1 file changed, 8 deletions(-)
drivers/tty/serial/8250/8250_dw.c +0 -8
index 4658e3e..816ec88 100644
@@ -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)
 {
Signature · 1 line
1.8.4.3