tty_register_device_attr updated for tty-next
authorTomas Hlavacek <tmshlvck@gmail.com>
Thu, 6 Sep 2012 21:17:47 +0000 (23:17 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Sep 2012 21:40:18 +0000 (14:40 -0700)
commitb1b799164afb22711e6bee718f2a5ee669bb9517
tree2bb7e2c7513b879531a8f0b898bc5557f4a784ed
parent6915c0e487c822e2436683e14302c0b8a6155cc7
tty_register_device_attr updated for tty-next

Added tty_device_create_release() and bound to dev->release in
tty_register_device_attr().
Added tty_port_register_device_attr() and used in uart_add_one_port()
instead of tty_register_device_attr().

Signed-off-by: Tomas Hlavacek <tmshlvck@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/serial_core.c
drivers/tty/tty_io.c
drivers/tty/tty_port.c
include/linux/tty.h