summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/sh-sci.h
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2020-04-15 20:02:50 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-04-16 16:13:34 +0200
commit30c67b91973cc6a9d4118d53eaf6da059a8d3996 (patch)
treee538bcfddb496e8ec9cf0c6d44d86962a9bb2055 /drivers/tty/serial/sh-sci.h
parentdrivers/tty: remove redundant assignment to variable i and rename it to ret (diff)
downloadlinux-30c67b91973cc6a9d4118d53eaf6da059a8d3996.tar.xz
linux-30c67b91973cc6a9d4118d53eaf6da059a8d3996.zip
serial: sh-sci: Drop unused include
The sh-sci.h file includes the legacy <linux/gpio.h> header but the driver is actually migrated to use the mctrl_gpio library so this is not needed. Cc: George G. Davis <george_davis@mentor.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/20200415180250.221762-1-linus.walleij@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/sh-sci.h')
-rw-r--r--drivers/tty/serial/sh-sci.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/tty/serial/sh-sci.h b/drivers/tty/serial/sh-sci.h
index 0b9e804e61a9..c0dfe4382898 100644
--- a/drivers/tty/serial/sh-sci.h
+++ b/drivers/tty/serial/sh-sci.h
@@ -2,7 +2,6 @@
#include <linux/bitops.h>
#include <linux/serial_core.h>
#include <linux/io.h>
-#include <linux/gpio.h>
#define SCI_MAJOR 204
#define SCI_MINOR_START 8