summaryrefslogtreecommitdiffstats
path: root/drivers/tty
diff options
context:
space:
mode:
authorFrédéric Danis <frederic.danis.oss@gmail.com>2018-03-14 14:17:31 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-03-14 15:02:45 +0100
commitc5e3d2070f75666242333081f369bc949c1731f0 (patch)
tree3cd1c24d540462290a2bb59bf0260a5508263136 /drivers/tty
parentd366c30d19f474c23e14111ac7198cee8a69103e (diff)
downloadlinux-0-day-c5e3d2070f75666242333081f369bc949c1731f0.tar.gz
linux-0-day-c5e3d2070f75666242333081f369bc949c1731f0.tar.xz
serdev: Fix typo in serdev_device_alloc
Fix function name in serdev_device_alloc() definition Signed-off-by: Frédéric Danis <frederic.danis.oss@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty')
-rw-r--r--drivers/tty/serdev/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serdev/core.c b/drivers/tty/serdev/core.c
index f439c72b9e3c1..df93b727e984e 100644
--- a/drivers/tty/serdev/core.c
+++ b/drivers/tty/serdev/core.c
@@ -350,7 +350,7 @@ static struct bus_type serdev_bus_type = {
};
/**
- * serdev_controller_alloc() - Allocate a new serdev device
+ * serdev_device_alloc() - Allocate a new serdev device
* @ctrl: associated controller
*
* Caller is responsible for either calling serdev_device_add() to add the