OpenCloudOS-Kernel/drivers/tty/serdev
Johan Hovold 8cde11b2ba tty/serdev: add serdev registration interface
Add a new interface for registering a serdev controller and clients, and
a helper function to deregister serdev devices (or a tty device) that
were previously registered using the new interface.

Once every driver currently using the tty_port_register_device() helpers
have been vetted and converted to use the new serdev registration
interface (at least for deregistration), we can move serdev registration
to the current helpers and get rid of the serdev-specific functions.

Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-05-18 17:38:24 +02:00
..
Kconfig serdev: add a tty port controller driver 2017-02-03 10:17:02 +01:00
Makefile serdev: add a tty port controller driver 2017-02-03 10:17:02 +01:00
core.c serdev: Restore serdev_device_write_buf for atomic context 2017-05-18 16:45:53 +02:00
serdev-ttyport.c tty/serdev: add serdev registration interface 2017-05-18 17:38:24 +02:00