]> git.baikalelectronics.ru Git - kernel.git/commit
tty_port: register tty ports with serdev bus
authorRob Herring <robh@kernel.org>
Thu, 2 Feb 2017 19:48:09 +0000 (13:48 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Feb 2017 09:17:02 +0000 (10:17 +0100)
commitc9f5bd85f8ec98a8a40b8b78386bf42cefc6f325
tree3c0ad711db6bd78cff93f9e061ec796fe1254d8f
parent24aea4fff7d434c9272658196f95d70135180e77
tty_port: register tty ports with serdev bus

Register a serdev controller with the serdev bus when a tty_port is
registered. This creates the serdev controller and create's serdev
devices for any DT child nodes of the tty_port's parent (i.e. the UART
device).

Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-By: Sebastian Reichel <sre@kernel.org>
Tested-By: Sebastian Reichel <sre@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty_port.c