Skip to content

Commit

Permalink
serdev: Fix typo in serdev_device_alloc
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Frédéric Danis authored and Greg Kroah-Hartman committed Mar 14, 2018
1 parent d366c30 commit c5e3d20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/tty/serdev/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c5e3d20

Please sign in to comment.