serdev: Fix typo in serdev_device_alloc
authorFrédéric Danis <frederic.danis.oss@gmail.com>
Wed, 14 Mar 2018 13:17:31 +0000 (14:17 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Mar 2018 14:02:45 +0000 (15:02 +0100)
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>
drivers/tty/serdev/core.c

index f439c72..df93b72 100644 (file)
@@ -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