Эх сурвалжийг харах

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 жил өмнө
parent
commit
c5e3d2070f

+ 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
  * @ctrl:	associated controller
  *
  *
  * Caller is responsible for either calling serdev_device_add() to add the
  * Caller is responsible for either calling serdev_device_add() to add the