aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/tty/serial/max310x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/max310x.c b/drivers/tty/serial/max310x.c
index e49d88add0b4..ef01d372956a 100644
--- a/drivers/tty/serial/max310x.c
+++ b/drivers/tty/serial/max310x.c
@@ -1250,9 +1250,9 @@ static int max310x_probe(struct device *dev, struct max310x_devtype *devtype,
1250 1250
1251#ifdef CONFIG_GPIOLIB 1251#ifdef CONFIG_GPIOLIB
1252 WARN_ON(gpiochip_remove(&s->gpio)); 1252 WARN_ON(gpiochip_remove(&s->gpio));
1253#endif
1254 1253
1255out_uart: 1254out_uart:
1255#endif
1256 uart_unregister_driver(&s->uart); 1256 uart_unregister_driver(&s->uart);
1257 1257
1258out_clk: 1258out_clk: