Browse Source

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>
Frédéric Danis 7 years ago
parent
commit
c5e3d2070f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/tty/serdev/core.c

+ 1 - 1
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