Skip to content
Commit 1cdcb6b4 authored by Hansjoerg Lipp's avatar Hansjoerg Lipp Committed by Greg Kroah-Hartman
Browse files

[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: default avatarHansjoerg Lipp <hjlipp@web.de>
Signed-off-by: default avatarTilman Schmidt <tilman@imap.cc>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 53877d06
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment