summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorZijun Hu <quic_zijuhu@quicinc.com>2025-04-23 17:40:56 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-04-25 14:44:28 +0300
commitbe4e3097c1f800b0f39e7e60b2b28eb6603f5d06 (patch)
treef610417dcbd8cf369cb4ed60fe47bd19331c782f /include/linux
parent05f31711af6417da19a4fb4b46b41039d569dabc (diff)
downloadlinux-be4e3097c1f800b0f39e7e60b2b28eb6603f5d06.tar.xz
tty: Remove unused API tty_port_register_device_serdev()
Remove API tty_port_register_device_serdev() which has no caller. Signed-off-by: Zijun Hu <quic_zijuhu@quicinc.com> Reviewed-by: Jiri Slaby <jirislaby@kernel.org> Link: https://lore.kernel.org/r/20250423-remove_api-v1-1-fac673d09feb@quicinc.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/tty_port.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/tty_port.h b/include/linux/tty_port.h
index 1b861f2100b6..08f89a598366 100644
--- a/include/linux/tty_port.h
+++ b/include/linux/tty_port.h
@@ -147,9 +147,6 @@ struct device *tty_port_register_device_attr(struct tty_port *port,
struct tty_driver *driver, unsigned index,
struct device *device, void *drvdata,
const struct attribute_group **attr_grp);
-struct device *tty_port_register_device_serdev(struct tty_port *port,
- struct tty_driver *driver, unsigned index,
- struct device *host, struct device *parent);
struct device *tty_port_register_device_attr_serdev(struct tty_port *port,
struct tty_driver *driver, unsigned index,
struct device *host, struct device *parent, void *drvdata,