]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] TTY: return class device pointer from tty_register_device()
authorHansjoerg Lipp <hjlipp@web.de>
Sat, 22 Apr 2006 16:36:53 +0000 (18:36 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 21 Jun 2006 19:40:47 +0000 (12:40 -0700)
commit1cdcb6b43fda7424b7435dac8f80b2b5d8a48899
tree3090342c60b9b8f0f8144f67962d3cb3ce2a9207
parent53877d06d53a412d901bb323f080296c363d8b51
[PATCH] TTY: return class device pointer from tty_register_device()

Let tty_register_device() return a pointer to the class device it creates.
This allows registrants to add their own sysfs files under the class
device node.

Signed-off-by: Hansjoerg Lipp <hjlipp@web.de>
Signed-off-by: Tilman Schmidt <tilman@imap.cc>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/char/tty_io.c
include/linux/tty.h